Ticket #598 (closed defect: fixed)

Opened 2 years ago

Last modified 23 months ago

If-Modified-Since header is not set for dynamicly compressed static files

Reported by: dave@… Owned by: jan
Priority: normal Milestone:
Component: mod_compress Version: 1.4.11
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: Blocking:

Description (last modified by jan) (diff)

I've noticed that the google feed fetcher seams to query feeds on the sites I host a lot, and always returns 200. Initially I thought this was a problem with the fetcher not submitting enough header information to generate a 304 if nothing had changed. However I sniffed the packets for this transaction and google is presenting If-Modified-Since

T 72.14.199.67:53473 -> 64.21.181.11:80 [AP]
  GET /index.rdf HTTP/1.1..Host: www.freeswingpress.com..If-Modified-Since: Sat, 25 Mar 2006 12:01:56 GMT..
  Connection: Keep-alive..Accept: */*..User-Agent: Feedfetcher-Google; (+http://www.google.com/feedfetcher.
  html)..Accept-Encoding: gzip....                                                                         
##

T 64.21.181.11:80 -> 72.14.199.67:53473 [A]
  HTTP/1.1 200 OK..Vary: Accept-Encoding..Content-Encoding: gzip..Last-Modified: Tue, 17 Jan 2006 01:35:05 
  GMT..ETag: "-356910301"..Content-Type: application/rdf+xml..Accept-Ranges: bytes..Content-Length: 1704..D
  ate: Sat, 25 Mar 2006 15:01:49 GMT..Server: lighttpd/1.4.11

Lighty should send 304 not modified because the Last-Modified date on the resource is before the if-modified header.

The file in question is a static file generated by MT.

Attachments

Change History

Changed 2 years ago by jan

  • status changed from new to assigned
  • component changed from core to mod_compress
  • description modified (diff)
  • summary changed from 1.4.11 does not seam to obey If-Modified-Since header to If-Modified-Since header is not set for dynamicly compressed static files

This is a bug in mod_compress.

As soon as you set the compress.cache-dir it will work as expected.

Changed 2 years ago by jan

This might be fixed in changeset [1046]

Changed 2 years ago by jan

  • status changed from assigned to closed
  • resolution set to fixed

Changeset [1046] + [1057] fixed the problem.

Add/Change #598 (If-Modified-Since header is not set for dynamicly compressed static files)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.