Go Back To Code List
[Links to CSS pages]
Current Code Entry
Go Back To Code List
[Links to CSS pages]
My .css page is not updating when I make a change.
Article Entry Date: June 4,2024 @ 02:24:36 / Last Updated On: June 4,2024 @ 02:24:36
When you change your CSS code inside your .css page, you may notice that your changes are not updated on your website. Even having Google Chrome or another browser's Developers Tools set to [Disable Cashe (While DevTools is open)] does not make a difference.

In this article, we will examine different ways to update our CSS pages whenever we make a change.

In ASP Classic and ASP.NET.


PHP


What the above code does.
When the page is accessed, the script will get the time of the page load, and this will then load that CSS page with its current state. Without this time in place, you will get the state of the CSS file from the last time it was cached by the web browser or by the web server.