Bug 58181 - mod_expire should allow "minus" keyword same like "plus"
Summary: mod_expire should allow "minus" keyword same like "plus"
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_expires (show other bugs)
Version: 2.4.10
Hardware: All Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-25 16:25 UTC by Björn Jacke
Modified: 2015-07-25 16:25 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2015-07-25 16:25:41 UTC
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?