diff --git a/apache/app.mako-dot-conf b/apache/app.mako-dot-conf index 06ceabb3cd..c79b4e561f 100644 --- a/apache/app.mako-dot-conf +++ b/apache/app.mako-dot-conf @@ -26,6 +26,10 @@ Alias ${base_url_path}/prod ${base_dir}/prd RewriteRule ^/(index.html|mobile.html|info.json|checker)(.*) /var/www/vhosts/mf-geoadmin3/private/geoadmin/prd/$1 RewriteRule ^/[0-9]+/(img|lib|style|rest|locales)(.*) /var/www/vhosts/mf-geoadmin3/private/geoadmin/prd/$1$2 + + Header set X-UA-Compatible "IE=Edge" + + ExpiresDefault "now plus 1 year" Header merge Cache-Control "public" diff --git a/src/index.mako.html b/src/index.mako.html index 3b453619fb..431bff3877 100644 --- a/src/index.mako.html +++ b/src/index.mako.html @@ -1,7 +1,14 @@ # -*- coding: utf-8 -*- + - + + + + + % if device == 'desktop': map.geo.admin.ch % else: @@ -9,7 +16,6 @@ % endif -