I am working on some HTML code that was inherited from another programmer, which uses include statements of the form:
~inc:filename.inc~
However, the problem I am encountering is that this include statement does not work reliably. About 90% of the time, all information in the included file is imported with no problem, but every so often all of that content goes missing when I refresh the page and comes back in when I refresh again. I have already tried changing the include statements to more widely-used forms such as:
<!-- FILE="filename.inc"-->
<!-- virtual="../filename.inc"-->
<!-- virtual="/filename.inc"-->
but this only results in the file consistently not being included at all. I have been poking around other places on the Internet, but can't seem to find any solutions or even any usage of of the '~inc:' include statement.
It is worth noting that this HTML is being loaded from firmware hosted on low-power equipment and certain items on the page are updating regularly. Is it possible that the updating methods are simply running too fast for the hardware to handle?
Does anyone have any ideas for how I can solve this problem?