开发者

How to approach caching in a web application?

开发者 https://www.devze.com 2023-01-15 23:31 出处:网络
this might be a more general question, not just Rails related. I\'m about to start working on an application that will need to employ some kind of caching strategy sooner or later.

this might be a more general question, not just Rails related. I'm about to start working on an application that will need to employ some kind of caching strategy sooner or later.

How to approach caching when programming a web application? Should I think it through up front or is it a matter of a later decisions? And then, how to approach testing of such appli开发者_JAVA百科cation? Do you test it with caching turned on (after all, that's how it's going to be run in production) or off?


There's a well done serie of screencasts about the subject here: http://railslab.newrelic.com/2009/01/22/introduction whatch all the cache related episodes,they show both concepts and what options you have in rails

0

精彩评论

暂无评论...
验证码 换一张
取 消