-
Notifications
You must be signed in to change notification settings - Fork 715
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
{nocache} around {block} gets ignored for {block} in child template since 3.1.28 #371
Comments
+1 for fixing this issue {extends file='page2.tpl'}
{block loop}
{custom_plugin parameter="abc"}
{/block} Then the cached output code contains reference to the |
If you don't want block contents to be cached, use |
Before 3.1.28 template inheritance was processed during compile time. This had a couple of restrictions. @AnrDaemon |
This has been fixed |
When using
{nocache}
tags around a{block}
that gets inherited by a child template, before 3.1.28 the code in the child block would correctly not be cached. Since 3.1.28 (and still in 3.1.31) this behaviour has changed.Testcase:
PHP
page1.tpl
page2.tpl
Expected result, 3.1.27 (cache/*.page1.tpl.php)
Actual result, since 3.1.28
The text was updated successfully, but these errors were encountered: