<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://support.unioncloud.org/UnionCloud/wiki/index.php?action=history&amp;feed=atom&amp;title=Old_images_loading_Cache_issue</id>
		<title>Old images loading Cache issue - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://support.unioncloud.org/UnionCloud/wiki/index.php?action=history&amp;feed=atom&amp;title=Old_images_loading_Cache_issue"/>
		<link rel="alternate" type="text/html" href="https://support.unioncloud.org/UnionCloud/wiki/index.php?title=Old_images_loading_Cache_issue&amp;action=history"/>
		<updated>2026-04-24T05:09:29Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://support.unioncloud.org/UnionCloud/wiki/index.php?title=Old_images_loading_Cache_issue&amp;diff=3653&amp;oldid=prev</id>
		<title>Dannyjkendall12: Created page with &quot;Add the below to Global JS. This will force all image files to reload.   '''It works by adding a parameter in this case the current time to the end of the path. This causes th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://support.unioncloud.org/UnionCloud/wiki/index.php?title=Old_images_loading_Cache_issue&amp;diff=3653&amp;oldid=prev"/>
				<updated>2019-03-07T10:07:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Add the below to Global JS. This will force all image files to reload.   &amp;#039;&amp;#039;&amp;#039;It works by adding a parameter in this case the current time to the end of the path. This causes th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Add the below to Global JS. This will force all image files to reload. &lt;br /&gt;
&lt;br /&gt;
'''It works by adding a parameter in this case the current time to the end of the path. This causes the browser to treat it as new&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
There maybe a small delay.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cacheBuster(url) {&lt;br /&gt;
    return url.replace(/\?cacheBuster=\d*/, &amp;quot;&amp;quot;) + &amp;quot;?cacheBuster=&amp;quot; + new Date().getTime().toString();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$(&amp;quot;img&amp;quot;).each(function() {&lt;br /&gt;
    this.src = cacheBuster(this.src);&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
$(&amp;quot;*&amp;quot;).each(function() {&lt;br /&gt;
    var bg_img = $(this).css(&amp;quot;background-image&amp;quot;);&lt;br /&gt;
    if (bg_img !== &amp;quot;none&amp;quot;) {&lt;br /&gt;
        var url = /url\((.*)\)/i.exec(bg_img);&lt;br /&gt;
        if (url) {&lt;br /&gt;
            $(this).css(&amp;quot;background-image&amp;quot;, &amp;quot;url(&amp;quot; + cacheBuster(url[1]) + &amp;quot;)&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}); &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Source: https://stackoverflow.com/users/215969/ilia-choly&lt;/div&gt;</summary>
		<author><name>Dannyjkendall12</name></author>	</entry>

	</feed>