hi there i just installed squid on my zopemachine to use it as a reverse proxy (speed up things ;-). i can access the site through squid, but I think it's not caching. is there something i should put in my zpt and dtml-objetcs and if yes how (I read something about http-header). can somebody explain? thx daniel
- check the access.log of Squid (HITS vs. MISS) - check that your Zope objects set the 'expires' HTTP header and other caching related headers - check that the clocks of your Squid and your Zope machine are synchronized (when running on different machines). -aj ----- Original Message ----- From: "Daniel Meier" <krams@krims.ch> To: <zope@zope.org> Sent: Thursday, May 16, 2002 06:21 Subject: [Zope] zope + squid
hi there
i just installed squid on my zopemachine to use it as a reverse proxy (speed up things ;-). i can access the site through squid, but I think it's not caching. is there something i should put in my zpt and dtml-objetcs and if yes how (I read something about http-header). can somebody explain?
thx
daniel
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Thu, 16 May 2002 12:21:13 +0200, "Daniel Meier" <krams@krims.ch> wrote:
hi there
i just installed squid on my zopemachine to use it as a reverse proxy (speed up things ;-).
Good plan.
i can access the site through squid, but I think it's not caching.
If are not sure, check squid's access log. Squid also has many debugging options you can enable if you want to find out *why* it isnt caching something.
is there something i should put in my zpt and dtml-objetcs and if yes how (I read something about http-header). can somebody explain?
there are lots of docs on www.zope.org on this topic. Toby Dickenson tdickenson@geminidataloggers.com
On Thu, 2002-05-16 at 12:21, Daniel Meier wrote:
hi there
i just installed squid on my zopemachine to use it as a reverse proxy (speed up things ;-). i can access the site through squid, but I think it's not caching. is there something i should put in my zpt and dtml-objetcs and if yes how (I read something about http-header). can somebody explain?
hi, you have to add a "Accelerated HTTP Cache Manager" somewhere in your Zope and add all files you want to cache. have a look at Zope-Help for Cachemanager / Cachemanagement. greetings, maik
participants (4)
-
Andreas Jung -
Daniel Meier -
Maik Jablonski -
Toby Dickenson