for those who dont want to mess with ICAP i wrote a ruby coordinator for
url_rewrite interface.
the only problem is the logs that will show one thing but actually the
url that gets into cache is the rewritten.
it can be verified using an ICP\HTCP client.
i wrote ICP client to verify cache objects status using command line can
be found at:
http://www1.ngtech.co.il/icp_client.rb.txt
the draft of the article at:
http://wiki.squid-cache.org/ConfigExamples/DynamicContent/Coordinator
Contents
Caching Dynamic Content using a Coordinator
Problem Outline
What is Dynamic Content
File De-Duplication\Duplication
Marks of dynamic content in URL
"?"
CGI-BIN
HTTP and caching
HTTP headers
HTTP 206\partial content
Dynamic-Content|Bandwidth Consumers
Specific Cache Cases analysis
Microsoft Updates Caching
Youtube video\img
CDN\DNS load balancing
Facebook
Caching Dynamic Content|De-duplicated content
Old methods
Store URL Rewrite
Web-server and URL Rewrite
NGINX as a Cache Peer
Summery of the ICAP solution
Implementing ICAP solution
Alternative To ICAP server Using url_rewrite
Best Regards,
Eliezer
--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il