Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.