fix favicon caching

This commit is contained in:
Athou
2014-10-26 17:48:25 +01:00
parent 9c9e43cf46
commit fa4bfa729d
2 changed files with 19 additions and 4 deletions

View File

@@ -334,8 +334,7 @@ public class FeedREST {
CacheControl cacheControl = new CacheControl();
cacheControl.setMaxAge(2592000);
cacheControl.setPrivate(true);
// trying to replicate "public, max-age=2592000"
cacheControl.setPrivate(false);
builder.cacheControl(cacheControl);
Calendar calendar = Calendar.getInstance();