Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Extend cache lifetimes

Russ Garrettd4d9a570f030
diff --git a/web/nginx-site.conf b/web/nginx-site.conf
index 8f632e3..11d16c1 100644
--- a/web/nginx-site.conf
+++ b/web/nginx-site.conf
@@ -11,12 +11,19 @@ server {
}
location ~ \.js$ {
- expires 30d;
+ expires 365d;
+ }
+
+ location ~ \.css$ {
+ expires 365d;
+ }
+
+ location ~ \.pbf$ {
+ expires 365d;
}
- # Icons have a hash appended
location /icons {
- expires 365d;
+ expires 365d;
}
location / {