Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

If-Modified-Since not working with IPRO #1106

Description

@jeffkaufman

Without PageSpeed:

$ headers -H 'PageSpeed: off' http://www.jefftk.com/pictures/2014/lily-baritone-tn.jpg | grep Last-Modified
Last-Modified: Fri, 02 Jan 2015 20:36:38 GMT

$ headers -H 'If-Modified-Since: Fri, 02 Jan 2015 20:36:38 GMT"' -H 'PageSpeed: off' http://www.jefftk.com/pictures/2014/lily-baritone-tn.jpg
HTTP/1.1 304 Not Modified

With PageSpeed:

$ headers http://www.jefftk.com/pictures/2014/lily-baritone-tn.jpg | grep Last-Modified
Last-Modified: Fri, 10 Jul 2015 13:11:17 GMT

$ headers -H 'If-Modified-Since: Fri, 10 Jul 2015 13:11:17 GMT"' http://www.jefftk.com/pictures/2014/lily-baritone-tn.jpg
HTTP/1.1 200 OK

ETags do work, and we set them.

I just tested mod_pagespeed as well, and the same problem:

$ headers modpagespeed.com/mod_pagespeed_example/images/Puzzle.jpg | grep 'Etag\|Last-Modified'
Etag: W/"PSA-aj-YsUBdV-i_6"
Last-Modified: Fri, 10 Jul 2015 13:18:34 GMT

$ headers -H 'If-None-Match: W/"PSA-aj-YsUBdV-i_6"' modpagespeed.com/mod_pagespeed_example/images/Puzzle.jpg
HTTP/1.1 304 Not Modified

$ headers -H 'If-Modified-Since: Fri, 10 Jul 2015 13:18:34 GMT' modpagespeed.com/mod_pagespeed_example/images/Puzzle.jpg
HTTP/1.1 200 OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions