Changes to included .lava files aren't picked up without a global cache clear (Fluid engine) #5249
Open
1 task done
Labels
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Status: In Dev Queue
This issue is being worked on, and has someone assigned.
Topic: Lava
Related to the Lava templating language.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
Prerequisites
Description
When referencing a lava file using an
{% include %}
tag, changes to the file are not reflected on the page unless I clear the global cache. Changing the block/page cache settings doesn't change the outcome, and the "red running man" icon that bypasses most other caching also doesn't seem to have an effect on this.Steps to Reproduce
~~/Assets/Lava/test.lava
with the contents "Hello"{% include '~~/Assets/Lava/test.lava' %}
Expected behavior:
If the cache is bypassed (red running man icon), the page should immediately reflect any changes made to an included lava file.
If the cache is enabled (green running man icon), I'm not sure if I should expect external changes to be automatically picked up immediately, or if it would be equivalent to making a change with SQL where Rock doesn't know that it happened without a manual cache clear.
Actual behavior:
The lava template cache prevents the changes from being picked up without a global cache clear regardless of the cache settings.
Note: This template cache is also not clearable from the cache manager. (See #5250)
Versions
The text was updated successfully, but these errors were encountered: