I found a bug in cache-control. If the less file has'nt been modified the servlet returns with:
response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);.
What happens in IE browsers is that no Cache-Control is set on that response and its up to the browser how long it will cache it before making a new request against the servlet. Need to again set:
response.setHeader("Cache-control", "max-age=" + maxAge);
I've handled it by overriding the service function and always setting the CacheControl header on response.
Hi, and thanks for a nice library.
I found a bug in cache-control. If the less file has'nt been modified the servlet returns with: response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);.
What happens in IE browsers is that no Cache-Control is set on that response and its up to the browser how long it will cache it before making a new request against the servlet. Need to again set: response.setHeader("Cache-control", "max-age=" + maxAge);
I've handled it by overriding the service function and always setting the CacheControl header on response.
Regards
Jonas Kälvesten