I want to allow caching for certain url. I added filter into web.xml
and mapped it to url I am making requests to. My responses started to contain etag
so I assumed it worked fine.
But default my responses from the server contains this headers.
But every time it returns code 200 every time instead of 304 (thus not using caching).
So I presumed its due to those headers it does not work properly.
I wanted to disabled those readers using cache-control
tag.
But except spring 4.0
that tag does not contain attribute disabled
.
So the question is - how to disabled it? (I am using spring 3.1
)