RE: [squid-users] Web service

From: Colloca Gabriel \(Medios Digitales - Desarrollo de Productos\) <gcolloca_at_lanacion.com.ar>
Date: Mon, 27 Apr 2009 12:49:28 -0300

Thanks a lot, is very usefull that page. In unbeliable but it throws:

http://rcd.lanacion.com.ar/deportiva/service1.svc/cc/obt/9993

Expires 1 min 19 sec from now (Mon, 27 Apr 2009 15:45:55 GMT)
Cache-Control max-age=394000
Last-Modified 2 days 17 hr ago (Fri, 24 Apr 2009 21:55:00 GMT) validation returned same object
ETag -
Content-Length 0.0K (37)
Server Microsoft-IIS/6.0

This object will be fresh for 4 days 13 hr. It has a validator present, but when a conditional request was made with it, the same object was sent anyway.

Really thanks for your help genius!!

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Viernes, 24 de Abril de 2009 10:28 p.m.
To: Colloca Gabriel (Medios Digitales - Desarrollo de Productos)
Cc: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Web service

Colloca Gabriel (Medios Digitales - Desarrollo de Productos) wrote:
>
<snip>
>
> Is a simple question. Can I cache a (.Net) webservice with squid. I made
> some tests and I always get a Miss. If I can do it, what squid check to
> think that the content was no modify. I want to getting information
> updated from the WS only every 30 second.
>

Squid caches everything it is allowed to.

Ensure that your web app is sending the correct Expires: and
Cache-Control: headers to enable caching for the 30 second period or
however long you want.

The cacheability engine is useful to identify exactly what is or not
cacheable and why.
   http://www.ircache.net/cgi-bin/cacheability.py

Amos

--
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
   Current Beta Squid 3.1.0.7
Received on Mon Apr 27 2009 - 15:49:54 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 27 2009 - 12:00:02 MDT