Last updated Dec 10th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
$292 per month—let's make that $500!Learn more
What is RefreshCache?¶
RefreshCache is a snippet for MODX Revolution that refreshes all cacheable resources and the chunks and snippets they contain -- whether they need it or not. It is slow and inelegant, but when it's finished, site visitors will not have to wait so long for pages to load.
It requests every resource on the site with cURL. It is intentionally slow to avoid overtaxing the server and/or running afoul of bot-blocking scripts.
- Downloads: 1,829
- License: GPLv2
- Requires: Revolution 2.0.x or greater
- Supports: mysql,sqlsrv
- Author: Bob Ray Bob's Guides
This version of the RefreshCache extra was developed by Bob Ray. It was first posted to GitHub on Dec 14, 2011. As of Jun 22, 2017 it had been last updated on Jun 22, 2017, had 35 commits, and had been downloaded 1,829 times. The RefreshCache package consists of 422 separate files, containing 5,564 lines of code.
It is currently maintained by Bob Ray.
RefreshCache can be downloaded and installed from within the MODX Revolution Manager via Package Manager (Extras -> Installer), or from the MODX Extras Repository.
Development and Bug Reporting¶
RefreshCache is stored and developed using GitHub, and can be found here: RefreshCache GitHub main page.
Bugs and feature requests can be filed here: RefreshCache issues page..
Questions about how to use RefreshCache should be posted on the MODX Forums.
The full documentation for RefreshCache can be found at the author's web site (Bob's Guides): RefreshCache Documentation.