Category: | Bug report |
Priority: | Normal |
Status: | New |
Project: | Severity: | Minor |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
In the web.xml of jasperserver I am attempting to configure the expires headers caching using the com.jaspersoft.jasperserver.war.StaticFilesCacheControlFilter filter. The parameter expiresAfterAccessInSecs has an initial default value 0f 86400 (1 day in seconds). If I set this value to 10 days (864000) and restart jasperserver and verify the http headers on static resources it seems to work fine. However if I set the parameter to 100 days (8640000) and restart jasperserver when I review the http header sent for static resources they all default back to 1 day (86400). It seems some arbitrary limit is checked and exceeded thereby causing the value to be reset to a default. 100 days for caching static resources is very standard and many web sites cache static content for up to 1 year. The max value for this parameter needs to be documented and perhaps increased to allow a larger value.