- Mixplate
- Posts: 49
- Starts: 19
- Wiki Edits: 1
- Location: awesome sunshine new jersey.
Hi, can I paste this in my .htaccess ffile in my rails app/public to enable my sites images to get cached on the visitors cumputer?
<FilesMatch "\.(jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2419200, public"
</FilesMatch>
2007-06-02 11:02 AM