1. squid-cache/Reverse Proxy/refresh_pattern
2. refresh_pattern
http://www.squid-cache.org/Doc/config/refresh_pattern/
static content はできるだけ、squid cacheから返事させたい。
https://twitter.com/ServersQ2/status/701833945789247488
- 参照されているサイトにつながらない。DNSに問題があるのかも。
-- ToshinoriMaeno 2017-12-28 14:59:36
@ServersQ2 Why does Squid very rarely get TCP_HIT in the log, which consists mostly of TCP_MISS? http://serversquestions.com/sq/questions/view/140394 …
https://www.linux.com/news/speed-your-internet-access-using-squids-refresh-patterns
refresh_pattern [-i] regex min percent max [options]
where min and max are time values in minutes and percent is a percentage figure.
Refresh patterns are effective if there is no expire header from the origin server,
- or your refresh pattern has an override-expire option.