Quote: Steffen Düsel (snduesel) wrote on Fri, 18 July 2014 14:59
----------------------------------------------------
Quote: Steffen Düsel (snduesel) wrote on Fri, 18 July 2014 14:56
----------------------------------------------------
> Quote: Jo Hasenau (cybercraft) wrote on Fri, 18 July 2014 14:40
> ----------------------------------------------------
> > > Die Funktion wird ja für gewöhnlich nur genutzt um den Cache zu
> > > deaktivieren;) Danke!
> > > > if($this->config['config']['no_cache']) > > > > So lautet die Abfrage dieses Parameters im Code, eine 0 sollte in dem > > Fall ein FALSE zurückliefern. Die eigentliche Aufgabe übernimmt > > > > public function set_no_cache > > > > Es gibt daher noch einige andere Wege, wie man den Cache abschalten > > kann, denn die Methode wird im TypoScriptFrontendController.php ingesamt > > 5 mal verwendet: > > > > fetch_the_id
> > generatePage_postProcessing
> > getConfigArray
> > mergingWithGetVars
> > tempPageCacheContent
> > > > Von daher ist es durchaus möglich, dass Du das zwar im TypoScript nicht > > mehr drin hast, aber trotzdem kein Cache genutzt wird. > > > > HDH > > > > Joey > > > > -- > > Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> > (If you have no clues: simply shut your gob sometimes!)
> > Dieter Nuhr, German comedian
> > Xing: http://contact.cybercraft.de
> > Twitter: http://twitter.com/bunnyfield
> > TYPO3 cookbook (2nd edition): http://www.typo3experts.com
> ----------------------------------------------------
> > Hier ist doch ein Fehler:
> 
W:\hilscher\typo3\sysext\frontend\Classes\Controller\TypoScriptFrontendController.php
  - Zeile 2416
> > if ($this->config['config']['no_cache']) {
>                    $this->set_no_cache('config.no_cache is set');
>            }
> > if("false") ist ja auch true > und if("0") ist false > ----------------------------------------------------
Sorry Zeile 1551. Das oben war Typo3 4.5
                if ($this->page['no_cache']) {
                        $this->set_no_cache('no_cache is set in page 
properties');
                }

----------------------------------------------------
                // No cache
                // Set $this->no_cache TRUE if the config.no_cache value is set!
                if ($this->config['config']['no_cache']) {
                        $this->set_no_cache('config.no_cache is set');
                }
Zeile 2620 ^^

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an