« Return to Thread: Squid vs caching products like memcached

Re: Re: Squid vs caching products like memcached

by lightbulb432 :: Rate this Message:

Reply to Author | View in Thread

So are you saying that it is possible and quite basic to do this with Squid?

My understanding is that Squid can cache static objects, but am unaware about whether it can cache entire dynamically generated pages (not just the static content like images and stylesheets contained within those pages), and under custom expiration rules like the one I described in my previous post about Amazon.com.


Jose Celestino wrote:
Words by lightbulb432 [Wed, May 16, 2007 at 10:39:29AM -0700]:
>
> Great answer, thanks!
>
> How does Squid's page caching ability work in terms of caching pages (as
> though they are static) but that were generated dynamically?
>
> For example, Amazon.com's homepage is dynamic but not generated dynamically
> on each request for that page; rather, I assume they set it to be cached
> anytime a request for that page comes in, with some sort of expiration
> policy (e.g. only dynamically generate the homepage once an hour, then serve
> that cached static page for the rest of that hour).
>
> I really hope Squid makes such a configuration possible and easy.
>

Yes. That's the basics :)

--
Jose Celestino
----------------------------------------------------------------
http://www.msversus.org/     ; http://techp.org/petition/show/1
http://www.vinc17.org/noswpat.en.html
----------------------------------------------------------------
"And on the trillionth day, Man created Gods." -- Thomas D. Pate

 « Return to Thread: Squid vs caching products like memcached