There are times you don’t want your output to be cached on browsers. For instance, when a user is viewing their account balance, you want the data to be retrieved from the server and displayed.
There is a way to inform the browser that it should cache the information so that it requests the information from the server each time, then displays it.
Include the following code segment between the
tags in the page:
This ensures that the data is not cached and, hence, that fresh data is always retrieved from the server before serving the client’s request.