Skip to main content

KSS transitional cacheability plugin

Project description

KSS plugin package “kss.plugin.cacheability”

Documentation

This plugin enables to use cacheable (GET) KSS reguests. This feature will be supported in the future directly by kss.

Usage:

css:event {
    action-client: cacheability-serverAction;
    cacheability-serverAction-url: actionName;
}

The future syntax for this will be:

css:event {
    action-server: actionName method(GET);
}

Limitation

Because currently the action runs as a client action in the eyes of KSS, entire forms cannot be marshalled to the server action. (kssSubmitForm, etc. does not work.)

kss.plugin.cacheability installation

By hand

When you’re reading this you have probably already run easy_install kss.plugin.cacheability. Find out how to install setuptools (and EasyInstall) here: http://peak.telecommunity.com/DevCenter/EasyInstall

Copy the file called kss/plugin/cacheability/kss.plugin.cacheability-configure.zcml in the /path/to/instance/etc/package-includes directory.

Using buildout

Simply add kss.plugin.cacheability to your buildout’s eggs list and add it to the zcml section of your instance config.

From within your own package

You can add kss.plugin.cacheability to the install_requires of your package’s setup.py. Also add a <zcml:include package="kss.plugin.cacheability" /> to your configure.zcml.

Changelog for kss.plugin.cacheability

0.2.1 (2009-01-27)

  • Missing strip() ruined the version string, resulting in a 0.2- release instead of 0.2. Re-releasing. [reinout]

0.2 (2009-01-27)

  • Documentation updates. Including documentation in the long description. [reinout]

0.1.2 (2008-11-13)

  • Fix the url construction for server actions. This will get rid of the double // before the action name. [ree]

0.1 (2008-07-02)

  • Initial go at using GET requests so that they can be cached on the server. [ree]

  • Initial package structure. [ree]

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

kss.plugin.cacheability-0.2.1.tar.gz (25.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page