I'm having a problem with a cgi script and I think it's due to a log not being updated soon enough after it's written to. My script writes to a log, then loads my homepage, and within a matter of seconds, a SSI needs what was just written to the log. Do I need to perform some kind of check after updating the log that will delay the loading of my homepage? What's the best way to do it?