Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks for your input. Things you've noted are rather simple and common. Sorry, but I feel that you totally misunderstood the problem. There aren't any ajax calls and static pages neither. It's more about digest performance (creating DOM tree based on data) than remembering just the data. What I want is to cache whole DOMs for many URLs for the same view. For example I have route category/{id} containing some books list, I'd like to cache all those "separate" views: category/1, category/2, category/3. So it's all about routing. Commented Nov 4, 2014 at 14:01
  • (continuing because of characters limit) When I open category/4 it gets the page from cache or loads it based on data. But when I open category/4 one again it surely gets it from cache. That's what I'd like to have. Maybe there is some built-in mechanism which nobody uses or there is a library made for similiar usage. Commented Nov 4, 2014 at 14:03
  • you should edit the question little bit, so someone else could help you. Commented Nov 4, 2014 at 14:36