[TYPO3-core] Idea for a new USER object

Martin Kutschker Martin.Kutschker at blackbox.net
Mon Nov 14 19:30:17 CET 2005


Kasper Skårhøj <kasper2005 at typo3.com> writes on 
Mon, 14 Nov 2005 14:48:32 +0100 (MET):

> 
> I'm fine with this. You must make a proper description for TSref and
> send to Michael Stucki,


You're happy with the name? USER_EXT is just a pun on USER_INT, reading EXTernal and INTernal. Though it doesn't make much sense.

Proper patch is forthcoming.

Masi


> - kasper
> 
> 
> On Saturday 12 November 2005 21:54, Martin Kutschker wrote:
> 
> > Hi!
> >
> > Currently we have USER and USER_INT objects.
> >
> > For semi-static plugins we have to use USER objects with cHash for
> > the
> > cached contents, but have to disable caching completely for the
> > dynamic
> > contents.
> >
> > I propose therefor a new object called USER_EXT. This object may run
> > either
> > as USER or as USER_INT depending on it's own choice.
> >
> > When it works as USER object it simply returns a string as usuasl.
> > But if
> > it wants to work as USER_INT it returns FALSE. We add a special
> > config
> > variable to its configuration, so that it knows on its next run that
> > it has
> > to work as USER_INT (ie from the page cache.
> >
> > This should in theory speed up all pages with semi-dynamic contents
> > as page
> > caching is not disabled completely.
> >
> > I've attached a modified version of tslib_cObj->USER that implements
> > this
> > idea.
> >
> > Masi
> 
> -- 
> - kasper
> 
> -----------------
> Think future, not feature
> _______________________________________________
> Typo3-team-core mailing list
> Typo3-team-core at lists.netfielders.de
> 
">http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core




More information about the TYPO3-team-core mailing list