light layer of caching around ajax requests