statcache 1.4.0-pl

statcache 1.4.0-pl

Released Aug 04, 2014 by opengeek

The statcache extra is made up of a Plugin for MODX Revolution that writes out static representations of fully cacheable MODX Resources to a configurable location on the filesystem. You can then use your web server's rewrite engine (or equivalent) to serve the static files first, if they exist. This has the advantage of bypassing MODX (and PHP) entirely, allowing you to serve potentially thousands of more requests per second. It has the disadvantage of not allowing any dynamic content to be served however.

Download 26kb (1372 downloads)
Downloads: 2,956
License: GPLv2
Requires Revolution 2.1.x or greater
Supports mysql,sqlsrv

This fourth minor release of the statcache extra is made up of a Plugin for MODX Revolution that writes out static representations of fully cacheable MODX Resources to a configurable location on the filesystem. You can then use your web server's rewrite engine (or equivalent) to serve the static files first, if they exist. This has the advantage of bypassing MODX (and PHP) entirely, allowing you to serve potentially thousands of more requests per second. It has the disadvantage of not allowing any dynamic content to be served however.

v1.4.0-pl adds the ability to replace existing static files versus removing them when saving a Resource. Visitors will always get the static file once it is generated until it is replaced.

It also adds the ability to limit caching to specific Contexts and allows usage on multi-context sites that use multiple domains or sub-domains.

Installation Instructions

Install via Package Management.

See https://github.com/opengeek/statcache/wiki for additional information.

Submit bug reports and feature requests at https://github.com/opengeek/statcache/issues

statcache 1.4.0-pl (August 3, 2014)

  • Limit statcache to Resources with specified context keys
  • Add use_url_scheme and use_http_host properties
  • Remove static file when Resource is deleted/unpublished
  • Add single Resource regeneration OnDocFormSave
  • Add regenerate_useragent property

statcache 1.3.0-pl (July 2, 2013)

  • Add regenerate property for replacing static files vs. removing
  • Add cacheTV property for forcing caching by TVs
  • Fix resolver for Plugin Events

statcache 1.2.0-pl (September 28, 2012)

  • Change skipIfTagsRemain and skipBinaryContentTypes default to true
  • Only cache published Resources
  • Add ability to limit caching by ContentType id's
  • Add ability to limit caching by Resource mime-type
  • Add skipBinaryContentTypes for skipping Resources with binary Content

statcache 1.1.0-pl (August 25, 2012)

  • Add skipTV property for skipping by a TV
  • Add skipIfTagsRemain property for skipping Resources with non-cacheable tags
  • Fix resolver for Plugin Events always reporting false

statcache 1.0.0-pl (August 24, 2012)

  • Initial release.

Version Released Author Downloads
5 Versions 1 Contributors 2,961 Downloads
1.3.0-pl Jul, 02 2013 opengeek 586
1.2.0-pl Sep, 28 2012 opengeek 460
1.1.0-pl Aug, 25 2012 opengeek 287
1.0.0-pl Aug, 24 2012 opengeek 257