diff --git a/playbooks/roles/zuul-web/templates/zuul.vhost.j2 b/playbooks/roles/zuul-web/templates/zuul.vhost.j2 index c46066346d..8f45aaf746 100644 --- a/playbooks/roles/zuul-web/templates/zuul.vhost.j2 +++ b/playbooks/roles/zuul-web/templates/zuul.vhost.j2 @@ -56,7 +56,9 @@ LogFormat "%h %l %u [%{%F %T}t.%{msec_frac}t] \"%r\" %>s %b %{cache-status}e \"% CacheDefaultExpire 5 # TODO: Should we cache the rest of the API too? - CacheEnable mem /api/tenant/.*/status + + CacheEnable mem + CacheEnable mem /static/ # 80MB max cache size. 10 objects at 8MB max each. MCacheSize 81920 @@ -67,7 +69,9 @@ LogFormat "%h %l %u [%{%F %T}t.%{msec_frac}t] \"%r\" %>s %b %{cache-status}e \"% MCacheMaxStreamingBuffer 8388608 - CacheEnable disk /api/tenant/.*/status + + CacheEnable disk + CacheEnable disk /static/ CacheRoot /var/cache/apache2/mod_cache_disk CacheMaxFileSize 10000000