I have Squid 3.3.8 as reverse proxy for a website with MediaWiki, on a FreeBSD 6.2 server.
All the requests are missed. (PHP files with parameter). At this point my only idea is that something is wrong with my refresh_pattern. I didn't set up a cache directory, it appears that Squid creates the cache on each individual directory, but I don't know if that could be a reason as well. I would appreciate any suggestions. Squid.conf: ---------------------------- http_access allow manager localhost http_port 3129 accel defaultsite=my_domain.org cache_peer 127.0.0.1 parent 3130 0 no-query originserver name=myAccel login=PASS forceddomain=my_domain.org acl our_sites dstdomain my_domain.org acl our_sites2 dstdomain localhost http_access allow our_sites http_access allow our_sites2 http_access allow localhost refresh_pattern -i (/cgi-bin/|.php|\?) 0 20% 4320 refresh_pattern . 0 20% 4320 cache_peer_access myAccel allow our_sites cache_peer_access myAccel allow our_sites2 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http http_access deny !Safe_ports ---------------------------- LocalSettings.php includes ---------------------------- $wgUseSquid = true; $wgSquidServers = array('my_ip_address'); $wgSquidServersNoPurge = array('127.0.0.1'); ---------------------------- php.ini ---------------------------- session.cache_limiter = nocache session.cache_expire = 180 ---------------------------- Access.log ---------------------------- 1385607796.200 410 127.0.0.1 TCP_MISS/200 53326 GET http://localhost:3129/index.php? - FIRSTUP_PARENT/127.0.0.1 text/html 1385607804.362 679 127.0.0.1 TCP_MISS/200 90061 GET http://localhost:3129/index.php? - FIRSTUP_PARENT/127.0.0.1 text/html 1385607819.385 264 127.0.0.1 TCP_MISS/200 29761 GET http://localhost:3129/index.php? - FIRSTUP_PARENT/127.0.0.1 text/html 1385607839.019 9155 127.0.0.1 TCP_MISS/200 202193 GET http://localhost:3129/index.php? - FIRSTUP_PARENT/127.0.0.1 text/html 1385607864.018 601 127.0.0.1 TCP_MISS/200 53369 GET http://localhost:3129/index.php? - FIRSTUP_PARENT/127.0.0.1 text/html 1385607874.986 410 127.0.0.1 TCP_MISS/200 53343 GET http://localhost:3129/index.php? - FIRSTUP_PARENT/127.0.0.1 text/html 1385607886.312 681 127.0.0.1 TCP_MISS/200 90056 GET http://localhost:3129/index.php? - FIRSTUP_PARENT/127.0.0.1 text/html 1385607906.361 467 127.0.0.1 TCP_MISS/200 29656 GET http://localhost:3129/index.php? - FIRSTUP_PARENT/127.0.0.1 text/html 1385607929.508 16872 127.0.0.1 TCP_MISS/200 202146 GET http://localhost:3129/index.php? - FIRSTUP_PARENT/127.0.0.1 text/html ---------------------------- -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Reverse-proxy-always-misses-cache-items-dynamic-pages-tp4663562.html Sent from the Squid - Users mailing list archive at Nabble.com.