at the moment when I am trying to enable caching for my jersey support team.
So, some questions arise.
What does entityTag mean? Could this be a unique random string generated?
When I make a mail request from my client to the server, I return a response with an entity tag. Question: how to cache this and how do I know which cached EntTag object I should send for the next receive request?
On the server side, I get send entityTag. How to compare this with ressource? Because I did not bind entityTag to ressource.
This is just a comparison of entities. So, when do I need the value of the last modified header?
Sorry, it would be nice to get an example for the server and client. I can not find anything for this problem. How to send the Tags entity to the request, how to compare them on the server side and what are the latest changes.
source
share