Forcing CSS / Javascript refresh – avoiding caching

When including the CSS or JavaScript files add a parameter to the end of the file:

If there’s a need to force refresh constantly the parameter could be generated dynamically with PHP (time stamp etc.).

Leave a Reply

Your email address will not be published. Required fields are marked *