[OSM-dev] Cache settings for OSM Mailing List monthly index pages
Andy Allan
gravitystorm at gmail.com
Fri Sep 19 16:09:05 UTC 2014
On 17 September 2014 13:09, Robert Whittaker (OSM lists)
<robert.whittaker+osm at gmail.com> wrote:
> I'm not sure if this is the right list to post this to, but I've
> noticed recently that I have to refresh the index pages of OSM mailing
> list posts e.g.
> https://lists.openstreetmap.org/pipermail/talk/2014-September/date.html
> in order to get new posts to show up. This seems to happen to me with
> multiple browsers on different computers.
Yeah, I've noticed this too, but I haven't looked into it. Until now :-)
The configuration of the servers is controlled via chef, and the chef
repository is at
http://git.openstreetmap.org/chef.git
There's a mailman cookbook, which has only one change made recently:
http://git.openstreetmap.org/chef.git/history/e9aa039648867546ebda79d0ceae2f6aa6f9621d:/cookbooks/mailman
The relevant commit contains the bug:
<http://git.openstreetmap.org/chef.git/blobdiff/e517f49bcdd9b1afac9809154c8d727f2bc96847..8604bd193412c0bf604d8b8e38b76d0e350f107c:/cookbooks/mailman/templates/default/apache.erb>
( http://bit.ly/1o9fn36 if the link above is borked)
```
- <Location ~ "/pipermail/([^/]+)/(2004|2005|2006|2007|2008|2009)">
+ <Location ~
"/pipermail/([^/]+)/(2004|2005|2006|2007|2008|2009|2010|2011|2012|2013|2014)">
ExpiresActive On
ExpiresDefault "access plus 180 days"
</Location>
```
So a possible fix is to remove 2014 from the end of that list until
the end of the year.
Cheers,
Andy
More information about the dev
mailing list