3 ms·
You need to set the cache control for the file to some far off date in future. Doing this will make sure the browser doesn't download the file each and every ti
by sarvesh 17y ago
You need to set the cache control for the file to some far off date in future. Doing this will make sure the browser doesn't download the file each and every time the users visits your website. If you are using Apache you add this to your conf file.
<FilesMatch "\.(jpg|jpeg|png|gif|js|css)$">
Header set Cache-Control "public"
Header set Expires "26 June 2210 20:00:00 GMT"
</FilesMatch>