From b6544e6738cef536c78af7e20248382ee2e0cd87 Mon Sep 17 00:00:00 2001 From: Andrew DeMaria Date: Sat, 8 Apr 2017 10:34:01 -0600 Subject: [PATCH] Cache script, dwr, icons and coverArt Signed-off-by: Andrew DeMaria --- .../src/main/java/org/libresonic/player/boot/Application.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libresonic-main/src/main/java/org/libresonic/player/boot/Application.java b/libresonic-main/src/main/java/org/libresonic/player/boot/Application.java index b68b93bc..3f7a67d8 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/boot/Application.java +++ b/libresonic-main/src/main/java/org/libresonic/player/boot/Application.java @@ -129,7 +129,7 @@ public class Application extends SpringBootServletInitializer implements Embedde public FilterRegistrationBean cacheFilterRegistration() { FilterRegistrationBean registration = new FilterRegistrationBean(); registration.setFilter(cacheFilter()); - registration.addUrlPatterns("/icons/*", "/style/*"); + registration.addUrlPatterns("/icons/*", "/style/*", "/script/*", "/dwr/*", "/icons/*", "/coverArt.view"); registration.addInitParameter("Cache-Control", "max-age=36000"); registration.setName("CacheFilter"); registration.setOrder(5);