Splunk Search

ServerSideInclude and Cache

beaumaris
Communicator

I am using the ServerSideInclude feature to add custom javascript to a module.

The problem comes up when I take a running system and try to edit the javascript. The system seems to be unable to load any modified content. This happens on any browser but using Firebug I can see that the file has a 304 response and gives a "Failed to load error".

The end result is that my code is not loaded and I just get blanks for this. Starting and stopping splunk does not seem to help the situation.

Is there another cache I can flush to ensure the code is always loaded? Other ideas?

Tags (1)
0 Karma

Mick
Splunk Employee
Splunk Employee

Have you heard of the bump endpoint ??

If you hit /info on any instance, and there's a link called static resource cache control near the bottom of the page. Click that and it'll allow you to increment the "bump" number on the instance.

We cache static files very aggressively. Ctrl+ will refresh it for you, but not for your other users. Clicking the bump endpoint works for all because it changes all the static URL's for everyhing on the entire server

0 Karma

hazekamp
Builder

A quick way to do this via splunkweb is via http://:/_bump

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...