<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Juicebox Support Forum — Prevent caching]]></title>
		<link>https://juicebox.net/forum/viewtopic.php?id=5259</link>
		<atom:link href="https://juicebox.net/forum/extern.php?action=feed&amp;tid=5259&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Prevent caching.]]></description>
		<lastBuildDate>Sat, 14 Aug 2021 16:21:14 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Prevent caching]]></title>
			<link>https://juicebox.net/forum/viewtopic.php?pid=18024#p18024</link>
			<description><![CDATA[<p>If you are using JuiceboxBuilder-Pro to create your galleries and use the &#039;index.html&#039; pages that Juiceboxuilder-Pro generates, then you can add your custom &lt;meta&gt; tags to the template file that JuiceboxBuilder-Pro uses to generate the &#039;index.html&#039; pages.</p><p>Here&#039;s the file that you&#039;ll need to modify:<br /><strong>Mac</strong>: <em>/Applications/JuiceboxBuilder-Pro.app/Contents/Resources/template/index.html</em><br /><strong>Windows</strong>: <em>C:\Program Files (x86)\JuiceboxBuilder-Pro\template\index.html</em></p><p>Open the file in a plain text editor and add your custom &lt;meta&gt; tags somewhere between the &lt;head&gt; and &lt;/head&gt; tags.</p><p>If you want to prevent browsers from caching your gallery&#039;s XML file, then try defining your gallery&#039;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 <a href="https://www.juicebox.net/support/config_options/#embed-options">configUrl</a> option in your gallery&#039;s embedding code.</p><p>In the &#039;index.html&#039; template file (location above), add the following code on a line of its own immediately after line 27 (<em>new juicebox({</em>).<br /></p><div class="codebox"><pre><code>configUrl: &#039;config.xml?nocache=&#039; + new Date().getTime(),</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Steven @ Juicebox)]]></author>
			<pubDate>Sat, 14 Aug 2021 16:21:14 +0000</pubDate>
			<guid>https://juicebox.net/forum/viewtopic.php?pid=18024#p18024</guid>
		</item>
		<item>
			<title><![CDATA[Prevent caching]]></title>
			<link>https://juicebox.net/forum/viewtopic.php?pid=18022#p18022</link>
			<description><![CDATA[<p>I would like to prevent browsers from caching my JBB Pro web pages. I know how to do it with meta tags but every time I regenerate the page I have to add these tags manually. Is there a way to automate this?</p>]]></description>
			<author><![CDATA[null@example.com (paitken)]]></author>
			<pubDate>Sat, 14 Aug 2021 15:33:09 +0000</pubDate>
			<guid>https://juicebox.net/forum/viewtopic.php?pid=18022#p18022</guid>
		</item>
	</channel>
</rss>
