Search squid archive
Re: Squid - Apache - Wordpress
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On 03/05/2012 12:33, Markus Lauterbach wrote:
Hi there, I installed two squids in front of my wordpress installation (based on apache). Up to now, I can browse my wordpress but I still see many misses in the squid logs. Wordpress itself likes to use many cookies and I expect that this is a corrupting influence. By searching via google, I found examples, where people use a squid infornt of there wordpress installation. Somehow it seems to work. And I found several howtos to Setup Varnish in front of wordpress, where the cookie is stripped. http://ocaoimh.ie/2011/08/09/speed-up-wordpress-with-apache-and-varnish/ Does anyone know a hint for me, what I should take a look to. It is posible, to manage the caching behavoir with my squid.conf, or do all the information (weather to cache the element or not) has to be set in the header by the application (wordpress). I already tried to set the vary header for cookies, but this doesnt leed to a useable configuration. Now, I would unlikely change from squid to varnish. Thanks in advance Markus
most of wordpress basic content is cacheble. what you can't or wont like to cache are the dynamic content pages.if you still want to cache the pages change the url of the dynamic pages to those without any "?" (question mark) and use a domain specific refresh pattern without "ignore-reload" to make sure that if a user will do a "refresh" he will get the dynamic page.
if you will look closely most of the page content is being cached by the browser so you will see mostly misses on the log after first loading the page.
Regards, Eliezer -- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer <at> ngtech.co.il
[Linux Audio Users] [Photo] [Yosemite News] [Samba] [Video Projectors] [Video Devices] [Big List of Linux Books] [LCD TVs] [Webcams] [Linux USB]