Showing 10 slides

ビュー層でキャッシュを使うと、キャッシュを更新するときだけに必要となるコンテキストデータの扱いが問題になる。 具体的には、無駄なDBアクセスが発生してしまう、ビューの中でDBにアクセスするためMVCが守られない、などである。 本資料ではこれらの問題について紹介し、その解決策を提案する。

ruby rails cache sprk02 merb

When using caching system on view layer, there are problems around context data which are required only when updating cache. For example, a lot of useless DB access, MVC violation, and so on. In this presentation, I describes these problems and proposes simple but useful solution.

ruby rails cache sprk02 merb