[TYPO3-dev] caching and start-/endtime of content element
Ernesto Baschny [cron IT]
ernst at cron-it.de
Wed Jan 16 17:37:55 CET 2008
Patrick Gaumond wrote: on 16.01.2008 17:25:
> Thomas Mammitzsch wrote:
>
>> If the page is viewed after the defined startdate the content is not
>> shown, although it should. After clearing the cache, the content is
>> shown. Shouldn't the time setting receive attention when typo decides
>> to render the page or just deliver the cached page?
>>
>> I didn't use that start/enddates before because i didn't need it. So i
>> don't know if that is the "normal way" typo handles this. If you can
>> confirm that this is a bug, i would report it to the bug database.
>
> Buzz and Ron are your friends:
>
> http://buzz.typo3.org/people/ron-hall/article/making-sure-content-elements-show-and-hide-at-the-proper-time/
>
> Oh well, reading Julle comment in the post a year ago make me wonder if
> it will ever happen. Maybe he had unresolved problem... Ron's trick is
> still a possible answer to part of your problem...
Yes, I remember discussions about potential solutions, but it becomes
very tricky, especially when "foreign" extensions are involved.
Especially tricky is the part that for that to work, the "cache" should
store information about every other record in TYPO3 which was "used" to
generate the particular rendered page. Which becomes impossible as soon
as you have "random content" or maybe a paginator, or just a "counter"
of records, just to name a few things that are not really
record-dependant etc.
Cheers,
Ernesto
More information about the TYPO3-dev
mailing list