JavaScript library to perform HTTP requests with cache support