On Fri, 24 Dec 2004, Andrew G. Sorokin wrote: > Hello oops, > Hi всем. > заметил странную особенность > oops (вчерашний CVS) не кеширует текстовые страницы
А как видно что не кэшируются? > ни text/html ни text/plain > > тест проводил гоняя в цикле 100 раз > wget http://angello.dp.ua/index.html -O /dev/null > и вот это > wget http://angello.dp.ua/rfc/rfc1497.txt -O /dev/null > странички - обычные статические файлы $ wget -d http://angello.dp.ua/index.html DEBUG output created by Wget 1.9.1 on solaris2.8. --14:43:51-- http://angello.dp.ua/index.html => ndex.html' Resolving proxy.paco.net... 195.114.128.12 Caching proxy.paco.net => 195.114.128.12 Connecting to proxy.paco.net[195.114.128.12]:3128... connected. Created socket 4. Releasing 545d0 (new refcount 1). ---request begin--- GET http://angello.dp.ua/index.html HTTP/1.0 User-Agent: Wget/1.9.1 Host: angello.dp.ua Accept: */* ---request end--- Proxy request sent, awaiting response... HTTP/1.0 200 OK Date: Fri, 24 Dec 2004 12:43:52 GMT Server: Apache/1.3.29 (Unix) PHP/4.3.9 rus/PL30.19 Content-Length: 3869 Last-Modified: Fri, 03 Dec 2004 10:02:01 GMT ETag: "39e196-f1d-41b03999-koi8-r" Connection: close Content-Type: text/html; charset=koi8-r Vary: accept-charset, user-agent Length: 3,869 [text/html] 100%[====================================>] 3,869 9.35K/s Closing fd 4 14:43:52 (9.35 KB/s) - ndex.html' saved [3869/3869] $ wget -d http://angello.dp.ua/index.html DEBUG output created by Wget 1.9.1 on solaris2.8. --14:43:56-- http://angello.dp.ua/index.html => ndex.html.1' Resolving proxy.paco.net... 195.114.128.12 Caching proxy.paco.net => 195.114.128.12 Connecting to proxy.paco.net[195.114.128.12]:3128... connected. Created socket 4. Releasing 545e8 (new refcount 1). ---request begin--- GET http://angello.dp.ua/index.html HTTP/1.0 User-Agent: Wget/1.9.1 Host: angello.dp.ua Accept: */* ---request end--- Proxy request sent, awaiting response... HTTP/1.0 200 OK Date: Fri, 24 Dec 2004 12:43:57 GMT Server: Apache/1.3.29 (Unix) PHP/4.3.9 rus/PL30.19 Content-Length: 3869 Last-Modified: Fri, 03 Dec 2004 10:02:01 GMT ETag: "39e196-f1d-41b03999-koi8-r" Connection: close Content-Type: text/html; charset=koi8-r Vary: accept-charset, user-agent Age: 0 Length: 3,869 [text/html] 100%[====================================>] 3,869 --.--K/s Closing fd 4 14:43:57 (23.50 MB/s) - ndex.html.1' saved [3869/3869] Age: 0 и скорость 23.50 MB/s показывает, что всё-таки кэшируется... > > а картинки кешаться нормально > опять таки > wget http://angello.dp.ua/admin/01000000.jpg -O /dev/null > > результат смотрел но access.log > да и wget пишет разные скорости ))) > > вот oops.cfg > --------------------------------- > nameserver 192.168.1.1 > http_port 3128 > icp_port 3130 > > userid oops > > logfile /usr/local/oops/logs/oops.log { 3 1m } unbuffered > > accesslog /usr/local/oops/logs/access.log > > pidfile /var/run/oops.pid > > statistics /var/run/oops_statfile > > mem_max 64m > lo_mark 8m > > default-expire-value 7 > ftp-expire-value 7 > > max-expire-value 30 > > last-modified-factor 5 > > dont_cache_without_last_modified > > default-expire-interval 1 > > icp_timeout 1000 > > disk-low-free 3 > > disk-ok-free 5 > > force_completion 75 > > maxresident 1m > > minresident 0 > > insert_x_forwarded_for yes > > insert_via yes > > fetch_with_client_speed yes > acl MSIE header_substr user-agent MSIE > acl ADMINS src_ip 127.0.0.1 > > acl PURGE method PURGE > > acl CONNECT method CONNECT > > acl SSLPORT port 443 > > acl_deny PURGE !ADMINS > acl_deny CONNECT !SSLPORT > > stop_cache ? > > stop_cache cgi-bin > > group local { > networks 127.0.0.1/16; > > http { allow dstdomain *;} > > > > } > Igor Khasilev | PACO Links, igor at paco dot net | ===================================================================== If you would like to unsubscribe from this list send message to [EMAIL PROTECTED] with "unsubscribe oops" in message body. Archive is accessible on http://lists.paco.net/oops-rus/
