Fix Caching Issues with Flash, JavaScript, XML, KML or Google Maps

This is a short and sweet post on caching issues. Sites and browsers are built to really optimize resources. They do it so well sometimes that the end result actually breaks your dynamic website instead of updating it as often as you’d like. Today I was working with JW Player, a Flash Movie player that pulls in a list of movies via an XML file.

The problem is that we’re always updating the file with new webinars and training classes. If our clients continued to come to the page each day, it would load a cached version of the playlist and never actually show them the latest and greatest.

As a result, I had to hack the SWF Object code so that it would think that it was loading a new playlist every time.