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!

Continue Your Federation Journey: Join Session 3 of the Bootcamp Series

To help practitioners build a stronger foundation, we launched the Data Management & Federation ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...