I see this 

Response Headers
Date    Fri, 09 Oct 2009 19:26:11 GMT
Server  Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2
mod_auth_passthrough/2.1 FrontPage/5.0.2.2635
X-Powered-By    PHP/5.2.9
Cache-Control   must-revalidate
Accept-Encoding gzip, deflate
Expires Fri, 09 Oct 2009 19:26:10 GMT
P3P     CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Content-Encoding        gzip
Vary    Accept-Encoding
Keep-Alive      timeout=10, max=30
Connection      Keep-Alive
Transfer-Encoding       chunked
Content-Type    text/html; charset: UTF-8

 

-----Original Message-----
From: Miles J [mailto:mileswjohn...@gmail.com] 
Sent: October-09-09 4:40 PM
To: CakePHP
Subject: Re: JS / CSS Compression


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
-~----------~----~----~----~------~----~------~--~---

Reply via email to