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 (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]