Skip to main content

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]

Release files for kss.plugin.cacheability 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kss.plugin.cacheability 0.2.1
File Size Uploaded
kss.plugin.cacheability-0.2.1.tar.gz 25.8 kB Details

Release files / kss.plugin.cacheability-0.2.1.tar.gz

Download URL kss.plugin.cacheability-0.2.1.tar.gz
Size 25.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eeac5d6a6cbc3eaf5fe371ad2f043f38d33a62194bcb80d23902868936fa6c87
BLAKE2b-256 checksum
How to use checksums
c4379d1872d021959182da492bae2ea5f535409872897a49841a5c949785e472
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2-

0.2dev

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page