Skip to main content

This Plone product allows some cache tuning for your site

Project description

Introduction

This Plone product allows some cache tuning for your site. Currently it only allows username replacment, but we might add some more features in the future.

Username replacement

If you enable this option, you can cache the whole pages and an Ajax request will replace the username in the page in order to reduce the load.

If you use a custom theme, you can specify the query used to select the HTML node containing the username. This query is written in the classic CSS format.

Extra libraries

The Javascript cookie setting is done using jquery.cookie.js, written by Klaus Hartl. The project is hosted at https://github.com/carhartl/jquery-cookie.

Changelog

0.3 (2012-08-24)

  • Splitted the zestcachetuning.js file so we have one version for authenticated users and one for anonymous. [vincent]

0.2 (2012-08-23)

  • Store a cookie with the username so we don’t have to make an Ajax call everytime. [vincent]

  • Fixed an error happening with anonymous users. [vincent]

0.1 (2012-01-12)

  • Initial release [vincent]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zest.cachetuning-0.3.zip (28.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page