Skip to content

Commit

Permalink
[TASK] Regenerate ViewHelper documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Jul 12, 2023
1 parent c7b8dd8 commit 3a98639
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Documentation/ViewHelpers/Render/Uncache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,19 @@ arguments
false
:aspect:`Description`
Arguments to pass to the partial.

.. _render.uncache_persistpartialpaths:

persistPartialPaths
-------------------

:aspect:`DataType`
mixed

:aspect:`Default`
true

:aspect:`Required`
false
:aspect:`Description`
Normally, v:render.uncache will persist the partialRootPaths array that was active when the ViewHelperwas called, so the exact paths will be reused when rendering the uncached portion of the page output. This is done to ensure that even if you manually added some partial paths through some dynamic means (for example, based on a controller argument) then those paths would be used. However, in some cases this will be undesirable - namely when using a cache that is shared between multiple TYPO3 instances and each instance has a different path in the server's file system (e.g. load balanced setups). On such setups you should set persistPartialPaths="0" on this ViewHelper to prevent it from caching the resolved partialRootPaths. The ViewHelper will then instead use whichever partialRootPaths are configured for the extension that calls `v:render.uncache`. Note that when this is done, the special use case of dynamic or controller-overridden partialRootPaths is simply not supported.

0 comments on commit 3a98639

Please sign in to comment.