Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>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 <code>href</code> of your <code>link</code> tag, so the server will not load it from cache.</p> <p>If your page is created dynamically by some language like php, you could add some variable at the end of the <code>href</code> value, like:</p> <pre><code> &lt;link rel="stylesheet" type="text/css" href="css/yourStyles.css?&lt;?php echo time(); ?&gt;" /&gt; </code></pre> <p>That will add the current timestamp on the end of a file path, so it will always be unique and never loaded from cache. </p> <p>If your page is static, you have to manage those variables yourself, so use something like: </p> <pre><code> &lt;link rel="stylesheet" type="text/css" href="css/yourStyles.css?version=1" /&gt; </code></pre> <p>after doing some changes in the file content, change <code>version=1</code> to <code>version=2</code> and so on.</p> <p>If you wish to disable the cache from caching css files, refer to your server type documentation (it's done differently on apache, IIS, nginx etc.) or ask/search for a question on <a href="https://serverfault.com/">https://serverfault.com/</a></p> <p>Assuming IIS - adding the key under with the right settings in the root or the relevant folder does the trick.</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;configuration&gt; &lt;system.webServer&gt; &lt;caching enabled="false" enableKernelCache="false" /&gt; &lt;!-- This one --&gt; &lt;/system.webServer&gt; &lt;/configuration&gt; </code></pre> <p>That said sometimes one still has to recycle the Application Pool to "bump" the CSS. Therefore: Disabling IIS caching alone is not a 100% guaranteed solution. </p> <p>For the browser: There are some notes on <a href="https://superuser.com/a/411826/128058" title="How to force a full page refresh &#40;not from cache&#41; in Firefox">fine-grain controlling the local cache on FF</a> over on <a href="https://superuser.com/questions/tagged/browser-cache" title="Superuser: browser-cache TAG">SuperUser</a> for the interested.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload