How about embedding the contents of the HTML files so that no access to the filesystem is required?
That would make it not only faster but also safer.
That would make it not only faster but also safer.
Although if you start caching contents in memory (which is faster) you would have to at least kill the server and restart it. Or signal a reload.