Topic: config.xml changes not seen by webbrowser

Hello,

When I change a gallery pictures order or add pictures, change the titles or any config settings the web browser doesn't see it even when closed and relaunched, the cache clearing doesn't help.

How can I  make the browser read the config.xml more often?

Is this a thing I can do?

Thank You for your answer,

Best regards!

David

Re: config.xml changes not seen by webbrowser

Clearing your browser's cache should work. If your browser has no cached version of your gallery's XML file, then it has no option but to use the current version from your web server.

Please see this FAQ:
When I update my gallery I don't see my changes online. Why?

It sounds like your gallery's XML file might not have been updated on your web server. If you are in any doubt that your old file is not being overwritten with the new version, then delete the old version from your web server first before uploading the new version in its place.

If you want to prevent browsers from caching your gallery's XML file, then try defining your gallery's XML file with a unique identifier (e.g. the current time which will be different each time the browser loads the page) using the configUrl option in your gallery's embedding code.

<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
    new juicebox({
        containerId : 'juicebox-container',
        configUrl : 'config.xml?nocache=' + new Date().getTime()
    });
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->