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 » Discussions » Using the Squid Reverse Proxy to...
expandshrink

Friday 24 July 2009 1:59:36 pm - 3 replies

» Read full tutorial

Introduction

Squid is an Open Source proxy application that can also be used as a reverse proxy. The difference between a proxy and a reverse proxy is that a proxy delivers content from multiple webservers to one user, while a reverse proxy delivers content from one webserver to multiple users. For example, a normal proxy might be used to provide a degree of anonymity to a user or to access servers that would otherwise be blocked; the proxy would access many other servers on the user's behalf. On the other hand, one of the reasons for using a reverse proxy is to speed up the delivery of content to all visitors of a particular server. This article shows how to use Squid with eZ Publish to improve the performance of your website.

Wednesday 07 September 2011 2:57:21 pm

Hello,

thank you for this article. I set up squid on one server and eZ on an other server. It works quite well, but if I look in the Log-Files I see, that not virtual URLs of eZ nodes are stored, only txt, css, png...

1315343628.532    139 62.158.79.31 TCP_MISS/200 6489 GET http://www.koch-und-lebens-schule...sensdatenbank/Tipps/High-und-Low-Ash - FIRST_UP_PARENT/myAccel text/html
1315343628.576      0 62.158.79.31 TCP_HIT/200 438 GET http://www.koch-und-lebens-schule.de/diagnostic/164/oelvertrieb_user.txt - NONE/- text/plain

I can request an eZ Node with virtual URL as often I like, but every time it is a "surprise" for squid "FIRST_UP_PARENT"

What is wrong?

Thank you for help

Angelika

Wednesday 07 September 2011 4:47:34 pm

1. are sou setting a cache ttl for html pages in squid conf, or are you using expiry headers in ez and just let squid honor them? This cane make a difference

2. is squid configured to cache html pages regardless of cookies? check if you're sending cookies with eZ pages (old versions of eZhad sessions always started, even for anon users)

Tuesday 13 September 2011 1:45:44 pm

Thank you for your quick reply.

Before I ask for Help, I tried both: cache ttl for html pages in squid conf AND are you using expiry headers in ez.

I think the problem is with cookies. My current eZ is 4.4. I tried to "kill" cookies for anon users. Some things happend, but after that, eZ generates a empty CSS file in the header. But I still see eZ-cookies in my browser.

I will do now an update to 2011.8 and try again.

Regards

Angelika

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from