|
|||||||||||
|
DO NOT REPLY [Bug 14070] New: - reverse proxy cache doesn't cache for documents retrieved with Transfer-encoding: chunked
From: <bugzilla(at)apache.org>
Date: Tue Oct 29 2002 - 16:46:06 EST
reverse proxy cache doesn't cache for documents retrieved with Transfer-encoding: chunked
Summary: reverse proxy cache doesn't cache for documents
retrieved with Transfer-encoding: chunked
Product: Apache httpd-2.0
Version: 2.0.42
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: mod_cache
AssignedTo: bugs@httpd.apache.org
ReportedBy: bjh@capgroup.com
I have Apache 2.0.42 running on a Windows 2000 machine, configured as a reverse proxy with caching, which proxies requests to a WebLogic 7.0 application server. Here is the configuration: LoadModule cache_module modules/mod_cache.so LoadModule file_cache_module modules/mod_file_cache.so LoadModule disk_cache_module modules/mod_disk_cache.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so ... <IfModule mod_cache.c>
<IfModule mod_proxy.c>
When I set Last-Modified and Expires headers from a JSP page, the apache proxy/cache is able to correctly cache the document (document is served from cache instead of the app server until the page expires). However, when pages are larger in size, the application server switches from inline content (with specified Content-Length header) to Transfer-Encoding = chunked (no Content- header) - when this happens, pages are no longer served from the cache. Here are what the headers look like (using wfetch.exe utility) when the cache works properly:
HTTP/1.1 200 OK\r\n
Here is what they look like when the cache doesn't serve from cache:
HTTP/1.1 200 OK\r\n
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Tue Oct 29 21:45:15 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:44:01 EDT |
||||||||||
|
|||||||||||