• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 151
  • Last Modified:

How to prevent an HTML5 page from being cached

What's the syntax for preventing a page from being cached.
Or have it refresh each time it is served.
0
JElster
Asked:
JElster
1 Solution
 
Peter HutchisonSenior Network Systems SpecialistCommented:
You need to use the meta refresh command in the page's header section to refresh the page every 60 seconds:
<meta http-equiv="Refresh" Content="600">

and:
<meta http-equiv="Cache-Control" Content="No-Cache">
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now