Search code examples
javascriptajaxliferayminifyportal

Problem with disabling JavaScript minifier in Liferay 5.2.3


I have a problem with disabling JavaScript minifier in Liferay 5.2.3. I tried the following things:

  • put property javascript.fast.load=false to portal-ext.properties
  • put property com.liferay.portal.servlet.filters.minifier.MinifierFilter=false to portal-ext.properties
  • set js_fast_load url parameter to 0

but it still works. What could I miss?


Solution

  • I think, I've found the solution.

    When I disabled StripFilter, the content has not been minimized.

    portal-ext.properties: com.liferay.portal.servlet.filters.strip.StripFilter=false

    It's strange, because I didn't find any documentation about such a behaviour of this filter. I discovered it after an analysis of the Liferay source code.

    Dear readers, any comment about the StripFilter is appreciated. Thank you!