So every time you change something in your stylesheet and you wanna view the new results, use this. Perhaps some other newbies like myself won't know that many hosting providers cache CSS and some other static files, and these cached old versions of CSS files will persist in the cloud for hours after you edit the file on your server. Now let's move on to look at some of the most common cross browser HTML and CSS problems. We said in the first article of this series that a good strategy to begin with is to test in a couple of modern browsers on desktop/mobile, to make sure your code is working generally, before going on to concentrate on the cross browser issues. You also can load your style using direct url and then press ctrl+r (ctrl+f5) to refresh it. In general, most core HTML and CSS functionality (such as basic HTML elements, CSS basic colors and text styling) works across all the browsers you'll want to support; more problems are uncovered when you start wanting to use newer HTML, CSS, and APIs. Go to the Github repository and clone it on your post-docker-live-reload folder. Most probably the file is just being cached by the server. You can stop the dev server by pressing ctrl+c in the terminal too. The important distinction here is that you're calling the URI for the source - but the folder location for the file modified time. NOTE: I actually prefer to include timestamps in the filename itself so instead of /css/main.min.css?1422585377 I prefer to use /css/main-1422585377.min.css because some proxy servers like Squid tend to ignore query strings and will treat only the filename part as relevant. You get a unix timestamp of the file modified time - so if you've made no changes - the browser / CDN cache can be retained. @klm123 I specifically didn't mean that. I use a private window or icognito as in Chrome so its not cached. Then you will be able to see the changes quickly and automatically. If you are using 'wp_enqueue_style' or wp_register_style functions, pass a random (version) number rand(111,9999) to 4th parameter. html changes not reflecting in browser django Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. Extracting arguments from a list of function calls, Can corresponding author withdraw a paper after it has accepted without permission/acceptance of first author. Often these can cache files. If using a prefix, make sure it is needed; that the property is one of the few remaining prefixed features. templates not updating when i change things please help - Google Groups But its unlikely that average web users know what a hard refresh is, nor can you expect them to keep refreshing the page until things straighten out. Thnx. It happens. runserver by default uses a stat based approach to reload on code changes. {% now 'U' %}" type="text/css"/>. How To Force The Browser To Reload Cached .JS, .CSS Files To Reflect Side note: When posting code here, dont enclose each line between single backticks - `. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. your server is caching the CSS file Django Community | Django More complex elements like HTML