Enable timed caching using java

19 Views Asked by At

I have set expires for a particular api using httpServletResponse.setDateHeader("Expires", c.getTimeInMillis()); however when i make the api call it does not seem to work. Every time it's making the api call, looks like timed cache is not working. Any help?

0

There are 0 best solutions below