Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache false not working for inline includes #794

Open
ostrojs opened this issue Sep 1, 2021 · 2 comments
Open

Cache false not working for inline includes #794

ostrojs opened this issue Sep 1, 2021 · 2 comments

Comments

@ostrojs
Copy link

ostrojs commented Sep 1, 2021

When a template is used in a page, the modifications are not reflected.

@christian-beckmann
Copy link

christian-beckmann commented Jan 3, 2022

This is true. Setting

// by default
Twig.cache(true);

to

Twig.cache(false);

renders includes (and embeds) correctly.

@willrowe
Copy link
Collaborator

@ostrojs can you provide an example using this template at a starting point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants