Servlet Filters is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.
If the user can unzip compressed HTTP content, the compression filter will zip up the HTTP content before sending it to the user. This will speed up page rendering for users that are on dial up.
com.liferay.portal.servlet.filters.compression.CompressionFilter=true |
This double click filter will prevent double clicks at the server side. Prevention of double clicks is already in place on the client side. However, some sites require a more robust solution. This is turned off by default since most sites will not need it.
com.liferay.portal.servlet.filters.doubleclick.DoubleClickFilter=false |
The header filter is used to set request headers.
com.liferay.portal.servlet.filters.header.HeaderFilter=true |
The strip filter will remove blank lines from the outputted content. This will speed up page rendering for users that are on dial up.
com.liferay.portal.servlet.filters.strip.StripFilter=true |
The layout cache filter will cache pages to speed up page rendering for guest users. See ehcache.xml to modify the cache expiration time to live.
com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter=true |
The sessionID filter ensure that only one session is created between http and https sessions. This is useful if you want users to login via https but have them view the rest of the site via http. This is disabled by default. Do not enable this unless you thoroughly understand how cookies, http, and https work.
com.liferay.portal.servlet.filters.sessionid.SessionIdFilter=false |
The Velocity filter will process */css/main.css as a Velocity template.
com.liferay.portal.servlet.filters.velocity.VelocityFilter=false |
The virtual host filter maps hosts to public and private pages. For example, if the public virtual host is www.helloworld.com and the friendly URL is /helloworld, then http://www.helloworld.com is mapped to http://localhost:8080/web/helloworld.
com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter=true |