About Uncacher

Do you have a big MODX website? Like, thousands of resources and lots of stuff in the templates? Are your pages taking several seconds to render when they aren't cached? When search engines start crawling a site like that when it's not fully cached, it may become extremely slow. So you can't afford cleaning the whole cache every time you save a resource.

This module provides a different strategy: when you save a resource (or its pub_date time comes), it clears and regenerates the cache of this resource, its parents and the index page (site_start system setting).

Information

Released
July 23, 2012

Supported Database
MySQL, SQL Server

License
WTFPL

Supported Versions
2.2 - <2.2

Downloads
1,218

Instructions

First, download and install it with the MODX package manager (System, Package Management) like any other package.

Second, uncheck the "Empty Cache" flag on every resource you edit.

If you don't use the publishing-at-a-specified-time functionality, you can stop reading right there.

If you do need it, set CronManager up and add a cron job calling the uncacheRecent snippet every n minutes and with optionsminutes: n, where n is how often to check. Five minutes is a good choice, but you can set it to one minute if you need that much precision.

Current releases

0.1-pl
View | Download
July 23, 2012
2.2 - <2.2

Uncacher 0.1-pl | MODX