Add cache for html output