Extras catalogue
cachebuster
Latest release 13 years ago (March 3, 2013).
About
A simple plugin that is handy for ensuring assets load fresh by generating a truly unique number.
Now use cachebuster to set an optional placeholder to be used for consecutive cache-busting!
[[$smartcache? &m=`cb=` &placeholder=`cbtime`]] will output something like cb=1362093673.
You'll then have a [[+cbtime]] placeholer to use in any of your Templates with the value of 1362093673.
Examples:
Let's say we always want a particular JavaScript file or AJAX request to load from the server. Just call the smartcache Chunk. If the Cache Bust System Setting is true, a truely unique string will be returned. Otherwise, your site version will be returned for cache control (ex 0.1)
Thanks for using cachebuster!
JP DeVries
mail@devries.jp
Installation & usage
Simply install via Package Manager. Call the smartcache chunk and use the System Settings to control whether or not assets should be cache busted (always load fresh from server) or cache controlled by site version.
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer dinocorn
- Latest release March 3, 2013 (13 years ago)
- First seen in SiteDash March 3, 2013 (13 years ago)
- License GPLv2
- MODX support 2 – 2.3
- Databases MySQL , SQL Server
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.3.0-pl |
March 3, 2013
13 years ago |
|
|
<p>Changelog for cachebuster integration into MODx Revolution.</p><p>cachebuster 1.3.0</p><p>====================================</p><p> - created buildscript</p><p> - added to GitHub</p><p>cachebuster 1.2</p><p>====================================</p><p> - add option to set result of [[!cachebuster]] to a desired placeholder</p><p>cachebuster 1.1</p><p>====================================</p><p> - adds smartcache Chunk which, controlled by cb.cachebust System Setting, will output either a cache busted string or your sites version for cache control</p><p>cachebuster 1.0</p><p>====================================</p><p> - initial commit</p>
|
|||
|
No matching releases. |
|||