Simplified the (no)caching architecture by:

- removing support for $cache_attrs for registered plugins,
- removing the undocumented {make_nocache} tag and the deprecated {insert} tag and associated code
- removing support for a compile_id property on include tags.

Fixes a bug in extends: resources by propagating the nocache-hashes between a master template and it's subtemplates in \Smarty\Template::_subTemplateRender. This might need further improvement.
This commit is contained in:
Simon Wisselink
2023-01-13 15:47:57 +01:00
parent e0f2c36d4d
commit cdf1ed2a50
45 changed files with 70 additions and 768 deletions

View File

@@ -39,7 +39,6 @@ them directly, or use the corresponding setter/getter methods.
- [$right_delimiter](./api-variables/variable-right-delimiter.md)
- [$smarty_debug_id](./api-variables/variable-smarty-debug-id.md)
- [$template_dir](./api-variables/variable-template-dir.md)
- [$trusted_dir](./api-variables/variable-trusted-dir.md)
- [$use_sub_dirs](./api-variables/variable-use-sub-dirs.md)
> **Note**