I have the asset helper up and running. Check y-slow and everything gets an
A except
Grade C on Compress components with gzip
There are 2 plain text components that should be sent compressed
* /styles_typography_1255097777.css
* jquery_jqueryform_ofl_1255097777.js
Apache 2.x uses mod_deflate.
The htaccess is bits from all over from reading so maybe there is a problem
in there somewhere?
I check the y-slow Statistics:
Empty Cache
HTTP Requests - 14
Total Weight - 143.9K
Primed Cache
HTTP Requests - 2
Total Weight - 2.2K
Looks like the scripts are not being cached either?
my /webroot/htaccess:
<IfModule mod_deflate.c>
# compress content with type html, text, and css
AddOutputFilterByType
AddOutputFilterByType DEFLATE text/html text/plain text/xml
<IfModule mod_headers.c>
# properly handle requests coming from behind proxies
Header append Vary User-Agent
</IfModule>
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css "access plus 10 years"
ExpiresByType text/js "access plus 10 years"
ExpiresByType text/javascript "access plus 10 years"
ExpiresByType application/x-javascript "access plus 10 years"
ExpiresByType application/javascript "access plus 10 years"
ExpiresByType image/png "access plus 10 years"
ExpiresByType image/gif "access plus 10 years"
ExpiresByType image/jpeg "access plus 10 years"
</IfModule>
FileETag none
Not sure why its not zipping these 2. Any ideas or help would be great.
Thanks
Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---