[TYPO3-core] RFC #9284: Feature: tt_content.starttime/endtime have no effect on caching

Susanne Moog info at susannemoog.de
Fri May 28 16:52:12 CEST 2010


On 28.11.2008 12:56, Francois Suter wrote:
> Hi,
> 
>> I now added a function for changing the cacheExpires Timestamp.
> 
> I tested this version of the patch. To sum up the discussion up to now,
> the original patch proposed by Martin raised a lot of questions, so
> Martin finally went for a minimal version which just introduces a method
> in tslib_fe that can be called to set a cache expiry timestamp from, for
> example, inside an extension.
> 
> I tested that with a dummy extension I quickly patched together to
> display some records from tt_news table and was able to set an expiry
> date for the cache corresponding to the next tt_news item starttime in
> the future.
> 
> So I think this is a worthwhile addition and am +1 after reading and
> testing. I found a couple of problems in Martin's patch so I'm attaching
> here a corrected version. I must add that it works flawlessly with the
> new caching framework.

Attached is a v2 for the revised version as there were quite some
changes in that class since 2008.

Please read and test again,

susanne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9284-revisedv2.diff
Type: text/x-patch
Size: 3374 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100528/13ae19e7/attachment.bin>


More information about the TYPO3-team-core mailing list