Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Set caching for icons

Russ Garrette32077fb3add
diff --git a/web/nginx-site.conf b/web/nginx-site.conf
index 013ffb1..8f632e3 100644
--- a/web/nginx-site.conf
+++ b/web/nginx-site.conf
@@ -14,6 +14,11 @@ server {
expires 30d;
}
+ # Icons have a hash appended
+ location /icons {
+ expires 365d;
+ }
+
location / {
index index.html index.htm;
}