R

RefreshCache

By Bob Ray (bobray)


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.

Bob Ray


New in RefreshCache 1.2.0

Version 1.2.0-pl

  • Mods for MODX 2.7
  • Refactored to eliminate PHP timeout
  • Uses Guzzle 6 for access
  • Requires PHP >= 5.4
  • Adds class-based  controller and processors
  • Excludes non-cacheable resources

Version 1.1.0-pl

  • Fixed bug in progress bar
  • Works with Articles
  • Refactored as CMP
  • Converted JS to ExtJs/modExt
  • Uses setInterval for better memory management
  • More reliable
  • Slightly faster
  • Slightly prettier

More

Information

Released
January 9, 2019
Supported Versions
2.3 – Current
Downloads
2,578
License
GPLv2

More from Bob Ray

C
Captcha

Captcha plugin for MODX Revolution

View
E
EmptyAlias

Reports resources with empty aliases

View
E
EmailResource

Email a resource to users

View
C
ClassExtender

Extend modUser and modResource objects

View