Speed up programme display by cacheing generated HTML