[fix] caching for json/html