<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I reload CSS and JS files despite the browser cache? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-reload-CSS-and-JS-files-despite-the-browser-cache/m-p/413329#M73108</link>
    <description>&lt;P&gt;easiest way is to bump the server-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://&amp;lt;SH&amp;gt;:8000/en-US/_bump" target="test_blank"&gt;https://&amp;lt;SH&amp;gt;:8000/en-US/_bump&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Click that button. Every click increases the bump, which effectively breaks all caching in the webserver. No need to restart! If you find it doesn't work as expected, run also the debug/refresh endpoint.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &lt;A href="https://&amp;lt;yourSplunk&amp;gt;/debug/refresh" target="test_blank"&gt;https://&amp;lt;yourSplunk&amp;gt;/debug/refresh&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 10 Oct 2018 10:19:49 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2018-10-10T10:19:49Z</dc:date>
    <item>
      <title>How do I reload CSS and JS files despite the browser cache?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-reload-CSS-and-JS-files-despite-the-browser-cache/m-p/413328#M73107</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I source CSS and JS files in my view, as below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form stylesheet="style.css" script="script.js"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But, each time I make modifications, the files are not reloaded (because of browser cache)  and our modifications are not visible to the users. How can I do this? Clearing the cache is not an easy action for end users.&lt;/P&gt;

&lt;P&gt;I tried &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form stylesheet="style.css?v1.0" script="script.js"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it does not work.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 09:49:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-reload-CSS-and-JS-files-despite-the-browser-cache/m-p/413328#M73107</guid>
      <dc:creator>matthieumarrast</dc:creator>
      <dc:date>2018-10-10T09:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reload CSS and JS files despite the browser cache?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-reload-CSS-and-JS-files-despite-the-browser-cache/m-p/413329#M73108</link>
      <description>&lt;P&gt;easiest way is to bump the server-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://&amp;lt;SH&amp;gt;:8000/en-US/_bump" target="test_blank"&gt;https://&amp;lt;SH&amp;gt;:8000/en-US/_bump&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Click that button. Every click increases the bump, which effectively breaks all caching in the webserver. No need to restart! If you find it doesn't work as expected, run also the debug/refresh endpoint.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &lt;A href="https://&amp;lt;yourSplunk&amp;gt;/debug/refresh" target="test_blank"&gt;https://&amp;lt;yourSplunk&amp;gt;/debug/refresh&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Oct 2018 10:19:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-reload-CSS-and-JS-files-despite-the-browser-cache/m-p/413329#M73108</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-10-10T10:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reload CSS and JS files despite the browser cache?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-reload-CSS-and-JS-files-despite-the-browser-cache/m-p/413330#M73109</link>
      <description>&lt;P&gt;Did the answer below solve your problem? If so, please resolve this post by approving it! &lt;BR /&gt;
If your problem is still not solved, keep us updated so that someone else can help ya. Thanks for posting!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 21:18:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-reload-CSS-and-JS-files-despite-the-browser-cache/m-p/413330#M73109</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-10-10T21:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reload CSS and JS files despite the browser cache?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-reload-CSS-and-JS-files-despite-the-browser-cache/m-p/413331#M73110</link>
      <description>&lt;P&gt;Yes. It seems to be ok. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 11:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-reload-CSS-and-JS-files-despite-the-browser-cache/m-p/413331#M73110</guid>
      <dc:creator>matthieumarrast</dc:creator>
      <dc:date>2018-10-11T11:46:44Z</dc:date>
    </item>
  </channel>
</rss>

