Woow, how time flies!
This blog thing took me a big time with the template. Now main block and sideboard are adjustable to window width, with a max-width working in IE thanks to Svend Tofte — I dont like style hacks but this one is very clear and makes IE do something that it should be doing lta.
Also a nice toggle system for logs was implemented, it is a little fat but allows multiple toggles in one post. Believe me, I am no anti M$IE but it is optimized for no IE — should show top of the box after toggle, and drawing glitches can be observed.
Now for what matters, my testing environment has grown:
Apache and IIS/Personal web servers [alternate]
IIS uses htdocs folders as virtual folders
Both can run PHP
Squid web cache proxy
Proxomitron to monitor HTTP headers
Explorer, Netscape, Firefox and Opera browsers
Browsers get from Proxomitron that gets from Squid that gets from Apache. Lets see what happens with two users using the same proxy server:
+++GET 99+++
Using Proxy - localhost:8088
GET /cache/static1/testpage.html HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 Gecko/20040803 Firefox/0.9.3
Referer: http://localhost/cache/index.html
+++RESP 99+++
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 07 Sep 2006 22:11:36 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Sun, 03 Sep 2006 20:22:00 GMT
ETag: "0243e9c96cfc61:d74"
Content-Length: 174
X-Cache: MISS from localhost
X-Cache-Lookup: MISS from localhost:8088
Via: 1.0 localhost:8088 (squid/2.6.STABLE3-NT)
+++CLOSE 99+++
+++GET 100+++
Using Proxy - localhost:8088
GET /cache/static1/antbird.jpg HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 Gecko/20040803 Firefox/0.9.3
Referer: http://localhost/cache/static1/testpage.html
+++RESP 100+++
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 07 Sep 2006 22:11:36 GMT
Content-Type: image/jpeg
Accept-Ranges: bytes
Last-Modified: Sun, 03 Sep 2006 20:22:00 GMT
ETag: "0243e9c96cfc61:d74"
Content-Length: 6529
X-Cache: MISS from localhost
X-Cache-Lookup: MISS from localhost:8088
Via: 1.0 localhost:8088 (squid/2.6.STABLE3-NT)
+++CLOSE 100+++
+++GET 101+++
Using Proxy - localhost:8088
GET /cache/static1/testpage.html HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 Gecko/20030624 Netscape/7.1
Referer: http://localhost/cache/index.html
+++RESP 101+++
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 07 Sep 2006 22:11:36 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Sun, 03 Sep 2006 20:22:00 GMT
ETag: "0243e9c96cfc61:d74"
Content-Length: 174
Age: 168
X-Cache: HIT from localhost
X-Cache-Lookup: HIT from localhost:8088
Via: 1.0 localhost:8088 (squid/2.6.STABLE3-NT)
+++CLOSE 101+++
+++GET 102+++
Using Proxy - localhost:8088
GET /cache/static1/antbird.jpg HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 Gecko/20030624 Netscape/7.1
Referer: http://localhost/cache/static1/testpage.html
+++RESP 102+++
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 07 Sep 2006 22:11:36 GMT
Content-Type: image/jpeg
Accept-Ranges: bytes
Last-Modified: Sun, 03 Sep 2006 20:22:00 GMT
ETag: "0243e9c96cfc61:d74"
Content-Length: 6529
Age: 168
X-Cache: HIT from localhost
X-Cache-Lookup: HIT from localhost:8088
Via: 1.0 localhost:8088 (squid/2.6.STABLE3-NT)
+++CLOSE 102+++
(hide logs) First, Firefox gets the entities and they are stored in proxy cache. When Netscape asks for the same entities they are delivered from proxy and the server is not contacted. This happens even with refresh, something I was not expecting.
3 Comments:
after all, hack didn't work -- no max-width with IE!
The refresh comment was a misunderstanding between X-Cache and X-Cache-Lookup
ok, IE's max-width working
Post a Comment
<< Home