Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Thanks.</p> <p>It's not a router or an ISP issue as the server is simply hosted in a VirtualBox container with the Document Root pointing to mounted Shared Folders.</p> <p>I'm using this approach as I have to support a few different websites and some of the hosts are running php v5.2 and others are on v5.3. It also means that I can easily check for issues regarding deprecated functions.</p> <p>I tried using the addon query string to the stylesheet name, however a 'View Source' showed the new name yet the content was still the 'old' sheet.</p> <p>It's not a browser issue, as Chrome, IE and Firefox are all displaying the same issue, so it's definately the Apache Server.</p> <p>There is no server side software installed it's a simple 'yum install httpd*' from the CentOS 5.8 DVD.</p> <p>I've got round the issue of the cached css by creating work-in-progress.php and having the following at the top of the file :</p> <pre><code>&lt;?php header("Content-type: text/css; charset: UTF-8"); ?&gt; </code></pre> <p>I then load the stylesheet as the last item in the &lt;head&gt; using the .php extension.</p> <pre><code>&lt;link rel='stylesheet' type='text/css' href='work-in-progress.php'&gt; </code></pre> <p>It's a bit tacky, but at least it works for the css</p> <p>I still need to resolve what parameter to change in the Apache config as images are also being cached and unless I change the filename each time I modify a background image, I still get served with the 'old' image.</p> <p>I've tried just doing a service httpd restart after making a change, but this doesn't seem to have any affect.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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