Topic: Stop it cacheing


How do I prevent my autoviewer from cacheing..?

Whenever I change a picture and reload the webpage to see how it'll look, every browser will cache it and wont load the changes until I clear all my cache

How do I stop this?

Many thanks


Last edited by Mark229 (2011-07-10 09:10:45)

Re: Stop it cacheing

Try defining your gallery's XML file with a unique identifier (eg. the current time which will be different each time a user loads the page) using the xmlURL option:

fo.addVariable("xmlURL", "gallery.xml?nocache="+new Date().getTime());
Steven Speirs
SimpleViewer Support Team.