<?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: Violent file caching in Splunk 6.2.x in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Violent-file-caching-in-Splunk-6-2-x/m-p/122930#M97704</link>
    <description>&lt;P&gt;Worked for me too. Thanks muchly... &lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2015 11:10:05 GMT</pubDate>
    <dc:creator>dvg06</dc:creator>
    <dc:date>2015-09-10T11:10:05Z</dc:date>
    <item>
      <title>Violent file caching in Splunk 6.2.x</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Violent-file-caching-in-Splunk-6-2-x/m-p/122927#M97701</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i've started to use Splunk 6.2.x some days before and experience a really big problems with file caching.&lt;/P&gt;

&lt;P&gt;The point is that i'm writing different JS-modules for my application. When debugging it in 6.0.x or 6.1.x i just need to reload the page with cleaning of browser cache (CTRL+SHIFT+R or CTRL + F5 in Chrome) to see the results of how my script working.&lt;/P&gt;

&lt;P&gt;In 6.2.x i have to restart whole server and clean out the browser cache to see the changes.&lt;/P&gt;

&lt;P&gt;What wrong with it? It tooks 10 times more time to just see a little feature working.&lt;/P&gt;

&lt;P&gt;I've checked the release notes, and there is even a word about this, as well as the forum didn't gave me any answers.&lt;/P&gt;

&lt;P&gt;Could this be set up how it was in previous versions of Splunk?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 14:12:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Violent-file-caching-in-Splunk-6-2-x/m-p/122927#M97701</guid>
      <dc:creator>mr_brightside</dc:creator>
      <dc:date>2015-01-30T14:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Violent file caching in Splunk 6.2.x</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Violent-file-caching-in-Splunk-6-2-x/m-p/122928#M97702</link>
      <description>&lt;P&gt;Yes, basically even when we are serving nominally static assets, we need to go through the python stack for a couple boring reasons.  To speed this up, 6.2 now aggressively caches these responses in the C++ layer which saves precious milliseconds when you log in.&lt;/P&gt;

&lt;P&gt;You are right that this cache can get annoying when developing an app and are changing the static assets constantly .  There are a couple ways to improve the experience.&lt;/P&gt;

&lt;P&gt;First, you don't actually need to restart the whole server -- you can just run "splunk restart splunkweb" to kick just that component, which is much faster.&lt;/P&gt;

&lt;P&gt;However, if you find yourself doing this a lot it's easier to just disable this cache entirely -- just add cacheEntriesLimit=0 to web.conf's [settings] stanza.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 23:10:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Violent-file-caching-in-Splunk-6-2-x/m-p/122928#M97702</guid>
      <dc:creator>mitch_1</dc:creator>
      <dc:date>2015-01-30T23:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Violent file caching in Splunk 6.2.x</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Violent-file-caching-in-Splunk-6-2-x/m-p/122929#M97703</link>
      <description>&lt;P&gt;Worked for me, thanks!&lt;/P&gt;

&lt;P&gt;for those, who could be confused with what web.conf to use the answer is:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/system/local/&lt;/P&gt;

&lt;P&gt;If there is no web.conf, just place a file here with this inside:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
cacheEntriesLimit=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;restart Splunk, and you'll see the results. Although in my system i had to clean out the browser cache one last time. Now everything goes as desired.&lt;/P&gt;

&lt;P&gt;Thanks again to mitch 1&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2015 10:38:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Violent-file-caching-in-Splunk-6-2-x/m-p/122929#M97703</guid>
      <dc:creator>mr_brightside</dc:creator>
      <dc:date>2015-02-02T10:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Violent file caching in Splunk 6.2.x</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Violent-file-caching-in-Splunk-6-2-x/m-p/122930#M97704</link>
      <description>&lt;P&gt;Worked for me too. Thanks muchly... &lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 11:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Violent-file-caching-in-Splunk-6-2-x/m-p/122930#M97704</guid>
      <dc:creator>dvg06</dc:creator>
      <dc:date>2015-09-10T11:10:05Z</dc:date>
    </item>
  </channel>
</rss>

