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.
New in statcache 1.4.0
statcache 1.4.0-pl (August 3, 2014)
- Limit statcache to Resources with specified context keys
- Add useurlscheme and usehttphost 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.