Stop Chrome Caching My JS Files

2019-01-21 03:35发布

I will make a change to my JS files but it won't really change in the browser, I have to rename the files every time so that it reloads it. Is there some sort of .htaccess command I can add or something to make it stop caching?

It is even caching my html pages hard core. I need to reopen my entire browser just to see changes. Could it possibly be a server problem?

13条回答
Deceive 欺骗
2楼-- · 2019-01-21 04:23

Hold shift while clicking the reload button.

查看更多
登录 后发表回答