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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file kss.plugin.cacheability-0.2.1.tar.gz
.
File metadata
- Download URL: kss.plugin.cacheability-0.2.1.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeac5d6a6cbc3eaf5fe371ad2f043f38d33a62194bcb80d23902868936fa6c87 |
|
MD5 | 7b63820244d0f935d156d290dff2d184 |
|
BLAKE2b-256 | c4379d1872d021959182da492bae2ea5f535409872897a49841a5c949785e472 |