Get Cached page ONLY IF apache is down - PHP
<p>I have a requirement to make a page available if apache is down for any reason.
The way I thought of it is to make the page "cached" so that it is available always.</p>

<p>However I have 2 problems:
- I want the page to be always available (may be I can set the cache limit to a very big number)
- When I make the page cached, the browser always retrieves the cached page even if apache is up.</p>

<p>So anyone can advice on what should I do here ? May be there is a better alternative other than the one I am using ?</p>

<p>This is the code I use for reference:</p>

<pre><code>&lt;?php
session_cache_limiter('public');
$cache_limiter = session_cache_limiter();

session_cache_expire(60);
$cache_expire = session_cache_expire();

session_start();

echo "hello world 2222";
?&gt;
</code></pre>

<p>Thanks in advance
John</p>
