progressive_render icon indicating copy to clipboard operation
progressive_render copied to clipboard

Support caching

Open johnsonj opened this issue 9 years ago • 0 comments

Syntax

View:

<% progressive_render cache_keys: [@val] do %>
    <%=@val %>
<% end %>

Expected Behavior

On first load, the partial is rendered as a placeholder and filled in. On subsequent loads it is in the cache and is part of the initial page load.

Open Issues

  • Adapt to specific cache stores? Rails.cache ok?
  • What additional cache params do we need?

johnsonj avatar Aug 13 '15 02:08 johnsonj