Cached pages with dynamic partial == Easy-Esi
Just replace <%= render ‘partial’ %> with <%= esi_render ‘partial’ %> and the whole page can be cached, but these partials will be freshly rendered. Easy ESI
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Just replace <%= render ‘partial’ %> with <%= esi_render ‘partial’ %> and the whole page can be cached, but these partials will be freshly rendered. Easy ESI
Post a comment