-
- 94 Posts
Hello !
when i make changes in my css file in the modx file manager, I have to load again linked stylesheet (firefox).
F5 is useless (firefox, explorer, safari)
modx empty cache and several hacks = no success
Any help will be welcome !
Amigafreak
modx 1.0.13, php 5_4
[ed. note: amigafreak last edited this post 10 years, 1 month ago.]
desktop publishing & web design
Evo and Revo user
Firefox has sometimes the problem to update external files during reload if the firebug window stays open.
-
- 94 Posts
Hello Jako,
Someone give me a simple solution : my web host (OVH in France) change the CDN, so the files are not updated correctly.
1) I created a snippet {{CacheCSS}} :
2) in the head of the html, i added
<link href="[(base_url)]styles.css?var=[!CacheCSS!]" rel="stylesheet" type="text/css">
now css file is updated correctly !
hope it could be useful for other modx lovers
Amigafreak
desktop publishing & web design
Evo and Revo user
-
- 1,613 Posts
Evolution user, I like the back-end speed and simplicity
-
- 94 Posts
Quote from: fourroses666 at Apr 04, 2014, 07:40 AMhttp://cssrefreshframe.frebsite.nl/
Thanks, i'll try this. for the momentthe snippet {{CacheCSS}} works fine, but it is good to have several solutions
Amigafreak
desktop publishing & web design
Evo and Revo user