[typo] cache mechanism in production mode
alxx at indigenious.ro
Tue May 15 09:30:17 EDT 2007
Thank you. This question may be silly, but what if I wrote a sidebar
plugin for it? Would that still be cached?
On May 15, 2007, at 4:27 PM, Piers Cawley wrote:
> On 15/05/07, Alex Deva <alxx at indigenious.ro> wrote:
>> I'm not very sure how the caching works with Typo, but it certainly
>> doesn't work the same if in production or development mode.
>> In development, everything works as expected; however, in production
>> mode, pages in cache don't expire when they should. I changed the
>> default template to show login/logout links, and the name of
>> whoever's logged in at the moment, and unless I clear the cache
>> manually, it shows the user as logged in even after he logs out, and
>> viceversa. Again, this only happens in production mode. If I disable
>> caching, things work fine.
>> Any insights?
> Yes. The pages got generated and pushed into the cache while you were
> logged in. When you log out, you continue to look at pages that are in
> the cache. You'll need to tweak things to populate the login/logout
> and whoever's logged stuff via AJAX requests if you want it to
> continue working.
> Typo-list mailing list
> Typo-list at rubyforge.org
More information about the Typo-list