rails视图性能:默认呈现与缓存呈现?

时间:2017-01-27 05:57:01

标签: ruby-on-rails caching

使用haml模板:

  .row
    .col-12
      .discount-notice
        %ul
          %li= t(".info").html_safe
          %li= t(".stuff").html_safe
          %li= t(".discount").html_safe
          %li= t(".cheese").html_safe
          %li= t(".fire-sale").html_safe

是否更高效让haml / rails按原样呈现或包装cache块并从memcached中获取?

0 个答案:

没有答案