This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » eZ Publish 5 Platform » Handle cache for authenticated users
expandshrink

Handle cache for authenticated users

Handle cache for authenticated users

Thursday 02 May 2013 9:07:36 pm - 2 replies

Hello,

I want to load website toolbar only for authenticated users but I have HTTP cache enabled (TTL Cache), thus the toolbar is cached ...

Do you know how can I disable HTTP Cache when a user is authenticated ? 

Thanks ! 

Thursday 02 May 2013 9:51:12 pm

I've found a solution in enabling ESI and I load the part of the template that I want to be specific to a user in a subrequest where I can check for authentication. 

It works fine but I wonder if there is other way to do achieve this use case ?

Thanks !

Friday 03 May 2013 6:01:39 am

The reply has been removed because of violation of forum rules.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from