Forum Moderators: not2easy
I'm having this prob with reloading css.
I have this page where a logged user can especify the colors of the page.
what I'd like to do is when the user hit the submit button change his css file put the values he chosed for the colores and display the pag with the changes. but the changes only appear when the user click in the refresh button(F5).
I've done some resears but no luck.
I'm using a external css file and php.
is it possible to do it?
thanks in advance.
If you are on Apache and you can use an .htaccess you could try:
ExpiresActive On
<FilesMatch "^style\.css$">
ExpiresDefault A0
Header unset Cache-Control:
Header append Cache-Control: "no-cache, must-revalidate"
</FilesMatch>