[Typo3-dev] $GLOBALS["TSFE"]->set_no_cache() vs USER_INT

Kurt Dirnbauer | web:consulting dirnbauer at web-consulting.at
Mon Sep 8 14:51:55 CEST 2003


hi,

"Karsten Hachmeister" <mailingliste at hachmeister.org> schrieb im Newsbeitrag
news:mailman.1062921270.2401.typo3-dev at lists.netfielders.de...

>
> If you want to use the indexed feature, so that your extension can be used
by
> the indexed search, both methods are not good. With USER_INT you
extensions
> don't get cached, but other on the same page. With set_no_cache() none get
> cached on the current page.
>
> If you want, the all output of you extension get cached, you need to
create
> special links for them, like this:
>
> http://typo3.hachmeister.org/Erstelle_korrekte_Typoli.412.0.html

thanks! i have read that and try (!) to explain it to my self:

so, this should be done if the output of the extension
and the included links should be cached:
- use "USER", not "USER_INT"
- dont't use "set_no_cache", because then the whole page (including the
output of the
  extension - of course - is not cached).
- to inlcude files (especially doc, pdf):
  . the required binaries have to be installed
  . the links in the output of the extension have to
    be included like in your tut.

are these lines correct?


there is just one question left:
-> what happens if i change an already cached record (in the backend)?

please choose: ;-)
a) it is not changed and displayed, this changes after one day.
    do i have ot update the cache then, call the page?
      (" if your content is cachable within the scope
      of a day which is the default, no problem - use USER"
      from:
http://typo3.org/doc.0.html?&encryptionKey=&tx_extrepmgm_pi1[extUid]=267&tx_
extrepmgm_pi1[tocEl]=147&cHash=68f5d7ae1d )
b) the cached stuff gets updated, and is reachable by indexed search.
    (thats what i wish. :-))
or is there a C ??


cheers,
kurt








More information about the TYPO3-dev mailing list