Css not Updating in android browser
Most probably the file is just being cached by the server. You could either disable cache (but remember to enable it when the site goes live), or modify
href of your link tag, so the server will not load it from cache.
If your page is created dynamically by some language like php, you could add some variable at the end of the
href value, like:
That will add the current timestamp on the end of a file path, so it will always be unique and never loaded from cache.
If your page is static, you have to manage those variables yourself, so use something like:
after doing some changes in the file content, change
version=1 to version=2 and so |
Comments
Post a Comment