Well look at your request/response headers. Is gzip compression even working?
On Oct 9, 11:34 am, "Dave Maharaj :: WidePixels.com" <d...@widepixels.com> wrote: > Could you explain "doing it the cake way"? > > Cake combines the scripts just fine. but after that? > > -----Original Message----- > From: robust solution [mailto:i...@robustsolution.net] > Sent: October-09-09 12:20 PM > To: CakePHP > Subject: Re: JS / CSS Compression > > Dear Dave, > > What I recommend you is to never rely on apache, > > do it the cake way...please.... it is too easy > > On Oct 9, 5:41 pm, "Dave Maharaj :: WidePixels.com" > <d...@widepixels.com> wrote: > > 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---