hello all
i am opening document from reposatory.
but same document i open for next time it is opening from cache.
this is something like HTTP Error 304 - Not modified.
how do i prevent this.
Thanks
Kishor Bhosale
Which product & API are you using?
304 is not an error status. This is so called Web (Client) Cache. The server returns 304 because your next request sends an Etag token (or last modified date) in its HTTP header. The server checkes the token and confirms that there is no update to the document since your last access. Then the server does not returns the document content again, but instead gives you 304 status code. If your HTTP client implements Web Cache, it shall retrieve the client from your client cache. It is recommended to leverage this Web Cache machanism to transfer content between the client and the server.
If you do not want the server to return 304, you can intercept the request to remove the Etag token (or last modified date) header.
Regards,
William
Thanks William
i am using webtop 6.0 and tomcat 5.5
i have no idea about how to configure Etag token header ?
i mean in which folder/file i can get that configuration.
Kishor