I do not understand yet Rails\' caching system, but I\'ve read in the guides section of a feature called fragment开发者_JAVA百科 caching.
We use page output caching in our ASP.Net website home page to make it appear load faster. The caching time is very minimum(5 minutes) so that the data updations are reflected to users
Suppose there is a blog with posts, comments and users which can comment. Users have SEO-friendly URLs such as http://localhost:3000/users/john (this can be easily done by using permalink_fu).
I want to expire fragments with a sweeper. The sweeper callbacks are executed, but the calls to expire_fragment do nothing, because (I assume) cache_configured? returns nil. Caching is configured and
Can someone point me to some example code on how best to do caching while loading up the dynamic parts of a page using javascript?
We have a site written in Drupal 6. We want to use Drupal\'s caching mechanism to improve performance, but when we turned it on, we found problems because our site has session data displayed on every
I\'m working on adding fragment caching to a Rails 3 site that has both logged in and anonymous users, and need to control when parts of the page expire based on when content displayed throughout the
I use CanCan to check user permissions and display or suppress page content conditionally for my users. I want to cache my pages though, and even with fragment caching can\'t find an elegant solution.
How could I cache an entire page except a bit at the top which says something along the lines of \"Welcome back, Matt! | Log Out\" if the user is logged in and so-on?
Right now I\'m trying to create my own tiny MVC (just for practice and for understanding MVC pattern details). I\'d like to cache parts of p开发者_如何学JAVAages (dropdowns, lists etc.) and I don\'t k