Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Using cache_digests with cache("custom_name") not working #35

@tomaswitek

Description

@tomaswitek
<% cache "menu" do %>
    bla bla...
<% end %>

I'm manually invalidating this cache by (it's working okay without cache_digests):

expire_fragment("menu")

Without cache_digests I'm getting this log:

Read fragment views/menu

After bundling cache_digests I'm getting this:

Read fragment views/menu/0fe212b51fb84adbcc47ef7e93bef477

Hash added after this fragment causes that I can't manually invalidate expire_fragment("menu").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions