--- Comment #3 from Nemo <> ---
Thanks both.

Krinkle> General practice: Either make sure requests for data have a version or
timestamp in them and cache very long (e.g. 30+ days), or purge it when you
detect a change server side (ideal), or cache 5-10 minutes server side
(smax-age, varnish) and client-side

$ curl -I
HTTP/1.1 200 OK
Server: nginx/1.5.0

Just add something to your nginx config à la

location ~*  \.(json|csv)$ {
   expires 10 m;


Though, you could even do "expires @1h00m;" or something like that, since the
data only needs updating after a cronjob, doesn't it?

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to