Splunk Enterprise

javascript doesn't apply even bump

woo
Explorer

When I modify JavaScript code in Splunk Config Explorer or VsCode and just do a bump, the JavaScript code doesn't update. I currently have browser cache disabled and even when I do a hard refresh in developer tools, it still doesn't update.

So I'm currently using debug/refresh after every JavaScript update, but it takes a long time - is there any solution for this?

OS : M1 Air
Browser : BraveBrowser
Splunk : 9.4.1 Enterprise

Labels (1)
0 Karma
1 Solution

squinlan2
Explorer

I just looked at my dev setup...this is what I have in web.conf:

[settings]

minify_js = false
minify_css = false
js_no_cache = true
cacheEntriesLimit = 0
cacheBytesLimit = 0
enableWebDebug = true

Other than that, I'm out of ideas...

View solution in original post

squinlan2
Explorer

Does this help?

https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/assetcaching/

There are other places to turn off caching to speed things up.  Not a good idea on a production server, but just find for development.

woo
Explorer

It's not working still. but thank you!

0 Karma

squinlan2
Explorer

I just looked at my dev setup...this is what I have in web.conf:

[settings]

minify_js = false
minify_css = false
js_no_cache = true
cacheEntriesLimit = 0
cacheBytesLimit = 0
enableWebDebug = true

Other than that, I'm out of ideas...

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...