Re: Busting those caches


Tim Plumb
 

A clever trick I stole for an Action I created a while ago appends an MD5 hash of the file being linked to as a query string. It means that the hash remains the same while the file is unchanged but gets updated overtime the file's contents change. Doing things this way means that files can be cached when they are unchanged but should load again when the hash changes.

Join xway-talk@softpress.groups.io to automatically receive all group messages.