Issue
I am working on a new site and whenever I change CSS settings chrome will not accept those changes unless I close out of chrome completely with Task manager and relaunch it. I have a tried quite a few things. Below is a list of things I've tried:
- Versioning the CSS file (I am using a PHP date stamp at the end of the CSS file
- Enabling "Clear Cache while developer window is open" in the Developer console
- Using Ctrl + F5 to clear cache on refresh
- Going to Application and Clear Storage in the developer Console
- Clearing Cache folder in local AppData
- Deleting CSS file from stie, refreshing, and readding file.
- Incognito mode
- Adding Launch options to chrome shortcut
--disk-cache-dir=null
- Adding Browser Plugins to delete cache.
Anyone have any ideas how to help? It is extremely annoying and inefficient to close chrome every time I want to check a CSS change. Another annoyance is that I am trying to listen to music in the browser so if I close chrome I have to go back and get my music playing again and it's just as of now extremely annoying and way more time consuming than I want.
I've tried looking at other articles online about cache busting and other articles on Stack Overflow but I've tried to do most of what they suggest and I haven't seen any positive outcome yet. Most articles say to add some sort of random string or version on the end of the CSS file as a GET request but that isn't working though I know that has worked for me in the past.
Solution
Development server was running various caching tools though they should have been turned off. After disabling them chrome started to work better and most of the time CTRL+F5 did the trick.
Answered By - AndyPet74
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.