I'm wondering if there's a way to create a breaking news div that can appear even if a file exists on the server and even if a dynamic page has been statically saved for caching purposes.
E.g. every page (dynamic/static) has an empty with an id:
<div id="breaking"></div>
Is there a way, as the page loads, to have ajax check if a file (say breaking.html) exists on the server. If it doesn't the div remains empty, if it exists it populates the div with the contents of the file:
<div id="breaking">Edward Kennedy passes away. Details to follow.</div>
I thought I once saw something like this described. It would be a great way to possibly announce breaking news on both dynamic pages and pages that have been generated as static pages for reducing server load but may not be expired and regenerated for some time.