How do I set up compression on Plone pages so that they are gzipped?

compression gzipped pages Plone
0
Posted

How do I set up compression on Plone pages so that they are gzipped?

0

You can customize a script in the ZODB that will turn on gzip. 1. Within the ZMI, navigate to the path http://localhost:8080/Plone/portal_skins/plone_scripts/enableHTTPCompression/. 2. Choose Customize. 3. Edit this line (ENABLE_ZLIB_COMPRESSION = 0) and change the value to 1. 4. Click Save Changes. When you do that, the script will be copied onto the /Plone/portal_skins/custom directory and activated. You can verify that this has taken place by viewing the HTTP headers. Note: You can also do this with caching.

Related Questions