I have this code here on the page:
<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" />
when I go to another page and click the browser button (back to the page where this code is written), it still has a page cache state. an option to add a PhaseListener, but they told me that adding a PhaseListener is additional support codes.
Question:
1. is the meta tag attribute http-equiv value cache-control still supported in html throughout the browser? because when I check w3school there is no value cache, pragma and expire for the http-equiv attribute.
2. If I add a PhaseListener, what would be the advantage over adding meta tags on every page?
thanks in advance
source share