RE: [users@httpd] Reverse proxy and cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All I see here is a document actually being saved to cache. It does not show the cache modules declining the request because the document is not in cache. I can therefore only assume that the document was NOT in cache when the request was issued.

There are request headers that will prevent a document from being served from cache, but the debug log should show why mod_cache does not serve it from cache. Could you submit the debug log covering 2 subsequent GET operations on the same GDF/JPG ?

-ascs

-----Original Message-----
From: Airat A. Sadreev [mailto:sadaa@xxxxxxx] 
Sent: Monday, February 13, 2006 4:07 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] Reverse proxy and cache

[Mon Feb 13 17:17:30 2006] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /vvmn/sdku/AK_VVMN_T.GDF
[Mon Feb 13 17:17:30 2006] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /vvmn/sdku/AK_VVMN_T.GDF
[Mon Feb 13 17:17:30 2006] [debug] mod_proxy_http.c(54): proxy: HTTP:
canonicalising URL //10.34.1.23/sdku/AK_VVMN_T.GDF
[Mon Feb 13 17:17:30 2006] [debug] proxy_util.c(1373): [client 10.10.1.2]
proxy: http: found worker http://10.34.1.23/ for
http://10.34.1.23/sdku/AK_VVMN_T.GDF
[Mon Feb 13 17:17:30 2006] [debug] mod_proxy.c(736): Running scheme http
handler (attempt 0)
[Mon Feb 13 17:17:30 2006] [debug] mod_proxy_http.c(1661): proxy: HTTP:
serving URL http://10.34.1.23/sdku/AK_VVMN_T.GDF
[Mon Feb 13 17:17:30 2006] [debug] proxy_util.c(1754): proxy: HTTP: has
acquired connection for (10.34.1.23)
[Mon Feb 13 17:17:30 2006] [debug] proxy_util.c(1811): proxy: connecting
http://10.34.1.23/sdku/AK_VVMN_T.GDF to 10.34.1.23:80
[Mon Feb 13 17:17:30 2006] [debug] proxy_util.c(1911): proxy: connected
/sdku/AK_VVMN_T.GDF to 10.34.1.23:80
[Mon Feb 13 17:17:30 2006] [debug] proxy_util.c(2005): proxy: HTTP: fam 2
socket created to connect to 10.34.1.23
[Mon Feb 13 17:17:31 2006] [debug] proxy_util.c(2101): proxy: HTTP:
connection complete to 10.34.1.23:80 (10.34.1.23)
[Mon Feb 13 17:17:34 2006] [debug] mod_proxy_http.c(1443): proxy: start body
send
[Mon Feb 13 17:17:34 2006] [debug] mod_cache.c(602): cache: Caching url:
/vvmn/sdku/AK_VVMN_T.GDF
[Mon Feb 13 17:17:35 2006] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Mon Feb 13 17:17:35 2006] [debug] mod_disk_cache.c(954): disk_cache: Stored
headers for URL http://_default_:85/vvmn/sdku/AK_VVMN_T.GDF?
[Mon Feb 13 17:17:44 2006] [debug] mod_disk_cache.c(1035): disk_cache: Body
for URL http://_default_:85/vvmn/sdku/AK_VVMN_T.GDF? cached.
[Mon Feb 13 17:17:44 2006] [debug] mod_proxy_http.c(1530): proxy: end body
send
[Mon Feb 13 17:17:44 2006] [debug] proxy_util.c(1769): proxy: HTTP: has
released connection for (10.34.1.23)

Header from cache (file attached)

http://_default_:85/vvmn/sdku/AK_VVMN_T.GDF?Server: Microsoft-IIS/5.0
X-Powered-By: ASP.NET
Date: Mon, 13 Feb 2006 14:17:31 GMT
Content-Type: application/octet-stream
Accept-Ranges: bytes
Last-Modified: Wed, 18 Jan 2006 13:26:01 GMT
ETag: "8dbaabb9321cc61:d7b"
Content-Length: 319488
Expires: Tue, 14 Feb 2006 14:17:31 GMT

User-Agent: Wget/1.9-beta
Host: 10.10.1.2:85
Accept: */*
Max-Forwards: 10
X-Forwarded-For: 10.10.1.2
X-Forwarded-Host: 10.10.1.2:85
X-Forwarded-Server: www-root.in

Airat

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux