×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
1
Language: PHP
Posted by: Massimo Zappino
Added: Jun 12, 2012 9:57 AM
Modified: Aug 11, 2017 2:36 PM
Views: 106
Tags: cache css js
If you want to prevent your browser caching external file just add the timestamp after file url
  1. <link href="/css/style.css?<?= time(); ?>" rel="stylesheet" type="text/css" />