Topic: Caching Problem
Hi,
I make juicebox galleries with images to show editing progress to my customer. So, from time to time i overwrite the existing gallery with a new one, exported from lightroom.
My problem is that the images are cached, an my client never sees the new ones, except if he clears the browser cache before.
caching of the config.xml could be circumvented if i add a random query to the image url, like
new juicebox({
containerid : 'juicebox-container'
, configUrl :'config.xml?' + (new Date()).getTime()
});
which is fine, as the config.xml is a small file ...
in the same manner, the caching of the image could be circumvented if i add a random query to the image url, like "http://url/image.jpg?12345679" (in the lightroom template config.xml). But this will load the image every time which is a bit much for the size of the images ...
Is there a Lightroom variable from the photo in the style of "getImage(index).metadata.caption" which i can use to form a "image version", to prevent caching? like the field "date of metadata". Or an export wide time stamp would also work.
Any ideas, how this could be done?
Thanks in advance,
Fabian