Hi all, In my cakephp2 site I made use of html5boilerplate's .htaccess to improve overall performance, but it seems that Apache ignores some instructions like *Caching *and *encoding*.
This is the .htaccess (without cakephp's mod rewrite instruction): https://github.com/h5bp/html5-boilerplate/blob/master/.htaccess I placed it in app dir. Here is a screenshot of headers sent by my CSS File: http://img339.imageshack.us/img339/3249/csscq.png *Expire date* is tomorrow, despite a .htaccess instruction of one year caching. *Charset *is set to iso-8859-1 despite AddDefaultCharset is set to utf-8. Other instructions like *gzip *and *x-ua-compatible *are fine. Here is a screenshot of one of my JS file: http://img21.imageshack.us/img21/7835/12526603.png Same problems, and *content-type *is set to application/x-javascript despite "AddType application/javascript js" instruction in the .htaccess. mod_expires in Apache is enabled. How can i do to get caching work? Thanks in advance. -- Dott. Stefano Zoffoli *Web Development & Internet Technologies * *Librasoft Snc *http://www.librasoftsnc.it Via della Luna, 13 47034 Forlimpopoli (FC) Tel. +39 0543 424612 Fax +39 0543 424612 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
