How to disable caching on back button of the browser?
Answer / Shashi Yadav
To disable caching on the back button of a browser, you can add various HTTP headers to your response, such as `Cache-Control: no-cache`, `Pragma: no-cache`, or `Expires: 0`. This instructs the browser not to use cached content when navigating back.
| Is This Answer Correct ? | 0 Yes | 0 No |
When will we prefer to use set and list in java and why?
What is the epoch date?
When do you create an index?
What is the difference between getCodeBase and getDocumentBase methods?
1 Answers CS Business Services,
Can we sort hashmap in java?
Why string is popular hashmap key in java?
where do we use init()
Can static method access instance variables ?
what is purpose of writting public static void main(Strind arg[]) in java..?
what is encapsulation in java? Explain
Why do we override tostring method in java?
What is a class instance variable?