Current time: 12-12-2019, 12:56 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Struggling with gzip on js and css
02-20-2012, 10:51 AM
Post: #1
Struggling with gzip on js and css
Hi
Test results are here - http://www.webpagetest.org/result/120220_6Y_39W9F/

According to this it tells me that the js and css are not gzipped, yet the html is. I have modded vhost.conf (Plesk control panel so cant touch httpd.include) to include the relevant document types and pointed it to the root web folder (httpdocs).
Am I missing something?

Regards

Doc
Find all posts by this user
Quote this message in a reply
02-21-2012, 01:42 AM
Post: #2
RE: Struggling with gzip on js and css
Two possibilities come to mind:

1 - You have a rule in place somewhere (.htaccess or config) that is disabling gzip for IE.

2 - mod_deflate isn't installed and html compression is actually being done by the application itself.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2012, 05:01 AM
Post: #3
RE: Struggling with gzip on js and css
Hi Patrick
Those are the ones I'd checked as well:-
I have all the AddOutputFilterByType types in place in the htaccess for the catalog folder.
mod_deflate is an installed module.
Confused is an understatement at the moment!
Thanks

Doc
Find all posts by this user
Quote this message in a reply
02-21-2012, 09:50 AM
Post: #4
RE: Struggling with gzip on js and css
Ok, bit of an update on this. Just checked the webpage elements on http://www.gidnetwork.com/tools/gzip-test.php and the css and js are both showing as gzipped from the server.
Confused! Any ideas?
Thanks

Doc
Find all posts by this user
Quote this message in a reply
02-21-2012, 06:45 PM
Post: #5
RE: Struggling with gzip on js and css
You must have an IE specific rule active somewhere. Using WPT you can see, that Firefox, Chrome and IE9 all get gzipped responses. IE 7 and IE 8 do NOT.
Find all posts by this user
Quote this message in a reply
02-22-2012, 06:37 AM
Post: #6
RE: Struggling with gzip on js and css
Hi LepienM

I'd only tested against IE7 and 8 which are the UK links hence why I hadn't spotted that. That has helped to track it down.

I had an old version of instructions in htaccess, I had bMSIEs6 instead of bMSI[E] as the exclusions

Thanks
Doc
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)