Re: Re: How to configure Apache 2 to compress xml files on serving?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Bo Berglund wrote:
On Fri, 13 Jun 2008 14:29:16 -0700, Dragon <dragon@xxxxxxxxxxxxxxxxxx>
wrote:

There should be a difference in the HTTP headers.
The difference will tell you (or us) where to start looking.


You are using Firefox, yes? (I seem to recall that...)

If so, go get the LiveHeaders plug-in for it. That will help you see what headers are being sent by both sites.


Thanks, that was a valuable help!
I installed it and got the headers as follows:

From the original server:

http://xmltv.tvsajten.com/xmltv/svt1.svt.se_2008-06-23.xml.gz

GET /xmltv/svt1.svt.se_2008-06-23.xml.gz HTTP/1.1
Host: xmltv.tvsajten.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://polaris/xmltv/GetXMLTVFiles.html
If-Modified-Since: Mon, 09 Jun 2008 04:03:42 GMT
If-None-Match: "1395-e5aba380"

The above is the request from the browser to the server.


HTTP/1.x 304 Not Modified
Date: Fri, 13 Jun 2008 21:57:14 GMT
Server: Apache/2.0.53 (Fedora)
Connection: Keep-Alive
Keep-Alive: timeout=15, max=100
Etag: "1395-e5aba380"
----------------------------------------------------------

The above (the response from the server) means that your browser will serve the object from it's cache, so it doesn't tell us much.

Clear the browser cache, get the same URL from server1 again.
(Or press SHIFT and click the reload/refresh button of the browser).
Then clear the browser cache again, and get it again from server2.
Re-post the results here.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux