About the specification of squid cache
Issue
- The object is not cached by squid when a user browses a certain URL.
- There is the following setting by default in squid.conf.
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
- We expect that this object is cached by removing the above setting. However, it was not cached.
- When we confirmed tcpdump, web server responded to squid "302 Moved Temporarily" not including Expires header.
- Is the reason that this object is not cached when the above-mentioned refresh_pattern is not set the 302 response not including Expires header?
- Does this specification, which 302 response not including Expires header is not cached, have priority over the processing of above-mentioned refresh_pattern?
Environment
- Red Hat Enterprise Linux 6 Update 4
- Package Version: squid-3.1.10-18.el6_4.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
