leverage localStorage for caching blogposts