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

[TASK] Replace "t3-function-cache" with "confval" #1058

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions Documentation/Functions/Cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@ rendered content will be stored in the cache, if :typoscript:`cache.key` was set
configuration options :typoscript:`cache.tags` and :typoscript:`cache.lifetime` allow to control
the caching.

.. contents::
:local:
.. contents::
:local:

Properties
==========

.. _cache-key:

key
---

.. t3-function-cache:: key
.. confval:: key

:Data type: :ref:`data-type-string` / :ref:`stdwrap`

Expand All @@ -45,10 +47,13 @@ key
cache key that is accurate enough to distinguish different versions of the
rendered content while being generic enough to stay efficient.


.. _cache-lifetime:

lifetime
--------

.. t3-function-cache:: lifetime
.. confval:: lifetime

:Data type: mixed / :ref:`stdwrap`
:Default: default
Expand All @@ -73,10 +78,13 @@ lifetime
The default cache lifetime as configured in :typoscript:`config.cache_period` is
used.


.. _cache-tags:

tags
----

.. t3-function-cache:: tags
.. confval:: tags

:Data type: :ref:`data-type-string` / :ref:`stdwrap`

Expand All @@ -85,7 +93,7 @@ tags
`cache_pages` cache) and can be used to purge the cached content.


.. _cache-examples:
.. _cache-examples:

Examples
========
Expand Down
1 change: 0 additions & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use_opensearch =

[sphinx_object_types_to_add]

t3-function-cache = t3-function-cache // t3-function-cache // Function cache
t3-function-encapslines = t3-function-encapslines // t3-function-encapslines // Function encapsLines
t3-function-htmlparser = t3-function-htmlparser // t3-function-htmlparser // Function HTMLparser
t3-function-htmlparser-tags = t3-function-htmlparser-tags // t3-function-htmlparser-tags // Function HTMLparser_tags
Expand Down
Loading