Forked from ZacharyL2/meta-http-equiv-content.html
Created
November 25, 2025 15:02
-
-
Save carlajarchuleta1-a11y/68645f2bcd00d3aa6ab8d66571df1685 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Replace `http` requests with `https` --> | |
| <meta | |
| http-equiv="Content-Security-Policy" | |
| content="upgrade-insecure-requests" | |
| /> | |
| <!-- Set CSP, if not provided, the browser also uses the standard same-origin policy --> | |
| <meta | |
| http-equiv="Content-Security-Policy" | |
| content="default-src 'self'; img-src https://*; child-src 'none';" | |
| /> | |
| <!-- Document Content Type --> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <!-- Explicitly enable DNS pre-resolution --> | |
| <meta http-equiv="x-dns-prefetch-control" content="on" /> | |
| <!-- Use `expires` to specify expiration times for web pages --> | |
| <!-- Once a webpage expires, it must be downloaded from the server --> | |
| <meta http-equiv="expires" content="Fri, 05 May 2023 12:57:51 GMT" /> | |
| <!-- Automatically jump to page2 of the same domain after 5 seconds --> | |
| <meta http-equiv="Refresh" content="5; URL=page2.html" /> | |
| <!-- Automatically refresh the page every 20s --> | |
| <meta http-equiv="Refresh" content="20" /> | |
| <!-- Prevent the browser from reading web pages from the local cache --> | |
| <meta http-equiv="pragma" content="no-cache" /> | |
| <!-- A way to set a cookie and can specify an expiration time --> | |
| <meta | |
| http-equiv="set-cookie" | |
| content="expires=Fri, 05 May 2023 12:57:51 GMT,path=/" | |
| /> | |
| <!-- IE browser adaptation --> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
Author
carlajarchuleta1-a11y
commented
Nov 25, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment