I try to develope a js script but I always have to clear the cache and wait about a minute until the changed file is loaded. Even emptying the folder /var/cache does not help.
Is it possible to disable js/css cache?
asked Aug 7, 2018 at 13:47
Black
3,4094 gold badges44 silver badges131 bronze badges
-
then you can comment in the layout xml file it won't be called.Learing_Coder– Learing_Coder2018年08月07日 15:07:10 +00:00Commented Aug 7, 2018 at 15:07
-
How is this going to help, I need it to get called obviously.Black– Black2018年08月07日 16:13:11 +00:00Commented Aug 7, 2018 at 16:13
-
are you using merged js/css? you probably shouldn't be when developingBlueC– BlueC2018年08月08日 20:46:38 +00:00Commented Aug 8, 2018 at 20:46
-
No, I don't merge CSS/JSBlack– Black2018年08月09日 09:41:04 +00:00Commented Aug 9, 2018 at 9:41
1 Answer 1
I know this doesn't exactly answer your question, but if you refresh the page by CTRL+Shift+R the page will be reloaded ignoring cache which should solve your issue.
answered Aug 7, 2018 at 18:48
Metal Mathematician
1,4823 gold badges22 silver badges38 bronze badges
-
Nope, I already know this but it does not help. It takes about 30-60 seconds until the new file is loaded.Black– Black2018年08月08日 07:35:09 +00:00Commented Aug 8, 2018 at 7:35
default