This might have been solved before, but at the moment I can only find a solution for MODX Evo:
http://deniskomlev.com/blog/modx-evo-css-versioning
What I'm trying to achieve is setting an expiry date or max age to the end of CSS files (or other files such as JS or images) to utilise browser caching, for example:
/assets/css/styles.css?v=2013-27-10
Ideally, it would be best if I could grab the timestamp of whenever the cache was last cleared, this usually means a document was saved and changes were made to the system. If the previously downloaded files on the local disk's timestamp are different from the current version then the newer version is downloaded, if not then it uses the local cached version.
anyone have any ideas how this can be easily achieved using MODX?