[squid-users] Does Squid support setting an expiration time less than one minute?
Amos Jeffries
squid3 at treenet.co.nz
Thu Oct 30 08:08:51 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30/10/2014 7:19 p.m., Niu Licheng wrote:
> Thanks for the quick response. In my specific case, I want the http
> responses to be valid in the cache for a constant time period, I
> know it violate http standard though. Nginx supports setting
> caching time by "proxy_cache_valid 200 10s”, is there similar
> approaches in Squid?
>
The closest is the refresh_pattern override you found already.
In Squid we believe in following the web standards, and encouraging
server operators to follow them as much as possible too.
Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJUUfISAAoJELJo5wb/XPRjwvMH/RP4MRZy1Q+R4pwiMvvBze7l
+JRhSnQ8murBWp0mnhc1u0o+N2Eq7GoWYumtdpIvg27paThn/bApkj8H6PfTFmRP
Z6sNMJ7EGejMw9RblAagYsvp+DfClgEyeCrcEpViqG3MMpPcuzGWFH7nrl2tGOL9
7VXeH8W9HjO7dyEfDjZSk+X3mng9p3VWfsuaw3+xaLVfL4plwxYEblDfsQJslLcE
7qfCJ6MoFfAj2y83jeXJ4LaLWyZVGlSCsnVI9rPvTJJwSqSqqkA5Jsm8gBvb84IF
s2sh1sL8/+mQkb3AcosRqG7K9M30HdviVeLiauT+V7M8HD9pztX2Tj6NQR0ZIFk=
=YBfG
-----END PGP SIGNATURE-----
More information about the squid-users
mailing list