3214 Posts in 848 Topics by 810 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3566 Views |
-
Clearing CSS cache

7 May 2009 at 3:27am
Hi
I have an issue on a site I'm developing. Basically I've created a new theme, each time I load the page I'm adding the '?flush=1' text to the end of the URL.
Although this is clearing the html cache it isn't refreshing the CSS.I have created a directory called 'silverstripe-cache' in the root of my installation as recommended on a website I visited some time ago. Basically I've cleared the files in this directory too..... and still I have had no luck.
Anyone got any ideas? (apart from creating a new CSS file and then renaming the link to it accordingly - but surely I should'nt have to go this far to just make a small change to the CSS on my site????)
Kind Regards
Peter
-
Re: Clearing CSS cache

13 May 2009 at 9:55pm
If the system is including the correct CSS file(s), it is probably a browser issue. Try manually clearing your browser-cache.
-
Re: Clearing CSS cache

27 May 2009 at 9:03pm
Try pressing CTRL + R or CTRL + F5 to do a forced refresh and clear your browser cache.
-
Re: Clearing CSS cache

27 May 2009 at 10:41pm
Yep SS does not touch your CSS cache (well at least most of the time). While developing a lot of us use the webdeveloper toolbar for firefox. This allows you to disable css caching. Handy!.
-
Re: Clearing CSS cache

3 August 2010 at 2:36am
Tried all the browsers, FF, Chrome, Safari... But all show the old css file.
The latest css is on my server, when i can download it from the and compare the code it is the latest one..THE PROBLEM WAS:
I uploaded the layout.css in the images folder (!) Somehow SS knew this and changed the path... So it looked uploading the latest css to the correct directory.
| 3566 Views | ||
|
Page:
1
|
Go to Top |




