Zope Zone Navigation
 
Document Actions
  • Print this page
  • Add Bookmarklet

How do I enable gzip encoding in Zope 2.6+?

Up to Table of Contents

How do I enable gzip encoding in Zope 2.6+?

For every page (object) you want to be encoded in gzip (compression) just add the following:

<dtml- call "RESPONSE.enableHTTPCompression(REQUEST)">

If you want your whole site encoded, just add it to the top of your standard_html_header.

You can use the link below to test and see if it is working.

 

Home Help Center Zope & Plone FAQs How do I enable gzip encoding in Zope 2.6+?