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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...