Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@barryokane
Last active June 15, 2018 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barryokane/28b3b1d7010af1d61a2a9476d05fbd81 to your computer and use it in GitHub Desktop.
Save barryokane/28b3b1d7010af1d61a2a9476d05fbd81 to your computer and use it in GitHub Desktop.
Simple app_offline.htm with no-cache meta tags, to discourage browsers from caching the maintenance message.
<html>
<head>
<title>Maintenance underway</title>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
</head>
<body>
<h1>Maintenance underway</h1>
<p>
We are currently working on some vital updates to our system, the site will be available again shortly.
</p>
<p>Sorry for the inconvenience!</p>
<!--
Adding additional hidden content so that (old!) IE Friendly Errors don't prevent
this message from displaying (note: it will show a "friendly" 404
error if the content isn't of a certain size).
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
<h2>Maintenance underway...</h2>
-->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment