which cache control should I use code example

Example 1: no cache html

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />

Example 2: what is cache

What is the caching mechanism?
Caching is just the practice of storing data in
temporarily and retrieving data from a
high-performance store (usually memory) 
either explicitly or implicitly. @CacheLookup
is used with @FindBy annotation and keeps 
that web element in memory and makes it ready
to use everytime. You can use that approach 
if you use any web elemnent frequently.

Tags:

Html Example