About statcache

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.


August 4, 2014

Supported Database
MySQL, SQL Server


Supported Versions
2.1 - Current



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

New in 1.4.0-pl

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.

Current releases

View | Download
August 4, 2014
2.1 - Current