-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
For: Server ToDoA case the server team needs to work onA case the server team needs to work oncode: low-codeCoding level: may need small amount of codingCoding level: may need small amount of codingcontent: edit/updateEdit/Update existing contentEdit/Update existing contentsize: SWork effort estimate: smallWork effort estimate: small
Description
There are a few problems that will confuse readers, that the proxy not working as expected:
-
The object cache size limit in the default configuration may be too small for most objects to be cached:
max_object_size
max_object_size_in_memory
-
The default
refresh_pattern
s don't cache generic filetypes(png|jpg|zip|tar*|...):> refresh_pattern ^ftp: 1440 20% 10080 > refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 > refresh_pattern \/(Packages|Sources)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims > refresh_pattern \/Release(|\.gpg)$ 0 0% 0 refresh-ims > refresh_pattern \/InRelease$ 0 0% 0 refresh-ims > refresh_pattern \/(Translation-.*)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-im > #refresh_pattern (\.deb|\.udeb)$ 129600 100% 129600 > refresh_pattern . 0 20% 4320
-
The default squid configuration doesn't cache HTTPS requests(needs an MITM configuration for that to work)
We should at least mention these potential cases, and provide instructions for readers to verify whether the cache has hit or not(e.g., via certain fields of the access log).
Document: how-to/web-services/install-a-squid-server.md
Metadata
Metadata
Assignees
Labels
For: Server ToDoA case the server team needs to work onA case the server team needs to work oncode: low-codeCoding level: may need small amount of codingCoding level: may need small amount of codingcontent: edit/updateEdit/Update existing contentEdit/Update existing contentsize: SWork effort estimate: smallWork effort estimate: small