I have a C# application that produces web pages on a windows PC. This output is either viewed on the PC via a browser or the image is scraped and sent to a display board.
What I want to be able to do is cause a reload of the webpage after I update it without any user input.
Originally I just had the page refresh itself every x seconds.
This worked until the reload coincided with the update at which point you would get a "page not found" error that would never clear.
Currently I have the page as a frame inside an outer page. The outer page does nothing but call a reload every x seconds. This takes care of the "page not found" error as when this occurs in the internal page, the next refresh of the external page reloads it. If however, the user needs to scroll the page or read the tooltips, the reload is incredibly frustrating.
What I want to be able to do is only reload the page if the page and or .css file is updated. As I can find when this happens via the application that produces the page (and has a built in .css editor), I just need an API call to force the reload from an external source.
Currently I can only use Firefox as a browser due to the "flash" from Chrome during a reload. IE has never been a contender due to many issues.