Re: [users@httpd] using cache in reverse proxy mode

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

 



Good point!, but it doesn't seems to be marked uncachable, here are two examples

------------
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Set-Cookie: JSESSIONID=8A211D396681857816C48E62C2E0D8A5; Path=/
  Content-Type: text/html;charset=ISO-8859-1
  Content-Length: 18
  Date: Sat, 22 Oct 2005 19:47:57 GMT
  Server: Apache-Coyote/1.1
  Connection: Keep-Alive
Length: 18 [text/html]

21:47:49 (676.08 KB/s) - `index.jsp' saved [18/18]

----------------
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  ETag: W/"18-1130009410000"
  Last-Modified: Sat, 22 Oct 2005 19:30:10 GMT
  Content-Type: text/html
  Content-Length: 18
  Date: Sat, 22 Oct 2005 19:48:06 GMT
  Server: Apache-Coyote/1.1
  Connection: Keep-Alive
Length: 18 [text/html]

21:47:58 (258.50 KB/s) - `index.html' saved [18/18]


Joshua Slive <jslive@xxxxxxxxx> wrote:

>On 10/22/05, Yavor Trapkov <trapkov@xxxxxxxxxxxx> wrote:
>> Hello,
>>
>> I'm using apache (2.0.54) as a frontend server to proxy content from application servers,
>>
>> I'd like to enable caching in order to decrease the load of the backend servers,
>>
>> I tried to add CacheEnable directive:
>>
>> ProxyPass        /content1 http://server:8080/content1
>> ProxyPassReverse /content1 http://server:8080/content1
>> CacheEnable mem  /content1
>> #CacheEnable disk /content1
>>
>> but I still see queries going to the application servers,
>> if disk cache is used nothing is stored into the CacheRoot folder,
>> i.e. ProxyPass content is somehow ignored .. does it really work in ver 2.0.x
>> as it is written in the mod_cache doc page?
>
>What does the content look like - specifically the http response
>headers?  Is it marked uncachable?
>
>Joshua.
>
>---------------------------------------------------------------------
>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
>
>





__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

---------------------------------------------------------------------
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