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...

Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...