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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...