I am reading the JAX-RS book by bill burke, wrote below code to see how cache-control header works
But Its not caching the result , every time I make a request, it calls the server. I was expecting it will cache the result and it will reach to server only after 60 seconds, as I have set the maxAge to 60 seconds.
Why every request is going to server ?
Tea Addict, Oracle Java Programmer , Oracle SQL Expert , Oracle Java Web Component Developer, Oracle Web Service Developer