You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/07/25 18:25:41 UTC

[Bug 58181] New: mod_expire should allow "minus" keyword same like "plus"

https://bz.apache.org/bugzilla/show_bug.cgi?id=58181

            Bug ID: 58181
           Summary: mod_expire should allow "minus" keyword same like
                    "plus"
           Product: Apache httpd-2
           Version: 2.4.10
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_expires
          Assignee: bugs@httpd.apache.org
          Reporter: bjoern@j3e.de

i would like to give documents a higher freshness timeout when they haven't
been modified for a long time. documents, that have a more recent modifications
time should have a lower freshness timeout. So I would like to do something
like:

ExpiresByType text/html "now minus modification"

The primary problem here is that mod_expire does only support "plus" and not
"minus". There was a patch for minus here: https://paste.apache.org/aLzH but I
didn't test that. Any reason why "minus" for a use case like this is not
supported?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org