Share » Forums » Setup & design » Improving eZ publish performance with...

Improving eZ publish performance with Varnish

Improving eZ publish performance with Varnish

Monday 09 July 2007 1:08:39 am - 5 replies

Author Message

André R.

Monday 09 July 2007 4:45:26 am

eZ Publish currently always sends out session to a user even if he isn't logged in (because he can still have access to posting comments and so on).

This and other things are being looked at for better support for varnish and similar solutions.
But in the mean time you'll have to force cache of certain parts of your web page that are for anonymous users.

The normal way to solve this is to have several siteaccesses, one thats being cached, one for logged in users, and one for admin interface.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Xavier Dutoit

Monday 09 July 2007 6:32:32 am

Hi,

If you're willing to put your hands and modify the kernel, one option is to modify the login to add a cookie "loggedin".

You can then test this cookie to decide if it's anonymous or logged in user.

(idea stolen from someone else, can't remember where I saw/read it)

X+

http://www.sydesy.com

Paul Borgermans

Monday 09 July 2007 8:36:23 am

That was from Kristof ;-) (to have one siteaccess, static cache for anonymous, normal view caches for front-end editing)

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Kristof Coomans

Monday 09 July 2007 10:43:30 am

The idea wasn't mine, I only wrote some code for it. See http://ez.no/community/forum/developer/static_cache_get_user_login_information_by_cookie_js

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Norman Leutner

Wednesday 29 August 2007 6:44:46 am

Has anybody managed to get Varnish working together with ez?

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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

36 542 Users on board!

Forums menu