I found there is a major hole in jpcache which is build upon phpcache.
If a user stops the browser half way through a page load, and at that time the page was being submitted to cache, the cache only gets half the page also.
The next visitor comes to the pages and of course sees only the corrupt version.
I found this after a few days of using jpcache (sql version) and wonder if it is the same for phpcache.
What should I add to the code so that while it is doing the "insert" into the database it doesn't stop half way???
www.jpcache.com