admin管理员组文章数量:1425864
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 .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?
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 .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?
Share Improve this question asked May 13, 2011 at 21:16 Przemysław RóżyckiPrzemysław Różycki 8382 gold badges10 silver badges21 bronze badges3 Answers
Reset to default 4To disable the minifier without modifying the portal properties add the following parameters to your url query string:
js_fast_load=0 <-- disable js minifier
css_fast_load=0 <-- disable css minifier
strip=0 <-- disable strip filter
See http://www.liferay./web/igor.spasic/blog/-/blogs/turn-off-minifiers-and-html-stripping
I think, I've found the solution.
When I disabled StripFilter, the content has not been minimized.
portal-ext.properties: .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 ment about the StripFilter is appreciated. Thank you!
Are you sure your portal-ext.properties is loaded by the portal? It should print the location during startup.
One way to make absolutely sure minifier is not used you can ment out the filter from web.xml.
本文标签: ajaxProblem with disabling JavaScript minifier in Liferay 523Stack Overflow
版权声明:本文标题:ajax - Problem with disabling JavaScript minifier in Liferay 5.2.3 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745459302a2659248.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论