[TASK] Add more remarks for flags regarding temporary content 65/57965/4
authorBenni Mack <benni@typo3.org>
Mon, 20 Aug 2018 07:05:17 +0000 (09:05 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 20 Aug 2018 12:25:15 +0000 (14:25 +0200)
Just additional comments in TSFE.

Resolves: #85906
Releases: master
Change-Id: I7301370fab406bd5d9c395b7d092688d56bac9e3
Reviewed-on: https://review.typo3.org/57965
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php

index 3b21165..e1cbdcf 100644 (file)
@@ -321,7 +321,9 @@ class TypoScriptFrontendController implements LoggerAwareInterface
     public $cacheTimeOutDefault = false;
 
     /**
-     * Set internally if cached content is fetched from the database
+     * Set internally if cached content is fetched from the database. No matter if it is temporary
+     * content (tempContent) or already generated page content.
+     *
      * @var bool
      * @internal
      */
@@ -386,8 +388,9 @@ class TypoScriptFrontendController implements LoggerAwareInterface
     public $no_cacheBeforePageGen = false;
 
     /**
-     * This flag indicates if temporary content went into the cache during
-     * page-generation.
+     * This flag indicates if temporary content went into the cache during page-generation.
+     * When the message is set to "this page is being generated", TYPO3 Frontend indicates this way
+     * that the current page request is fully cached, and needs no page generation.
      * @var mixed
      */
     public $tempContent = false;