Size of cached Objects?

From: Thien Do <thien.do@dont-contact.us>
Date: Fri, 17 Mar 2000 16:01:34 -0800

Hi all,
I would like to have a question about the Cache size.
I am a new user of Squid cache: Version 2.3STABLE2.

I wrote a small example in JSP:

<%@ page language="java" import="java.io.*, java.util.*, java.net.*" %>
<html>
<head>
<title>TEST SIZE</title>
</head>
<body>
<%
        out.println("<H1><UL>");
        for (int i=1; i<500; i++) {
           out.println("<LI>Line [" + i + "]");
        }
        out.println("</UL></H1>");
%>
</body>
</html>

The cache works OK when the upper limit of the for loop is 500. If
increasing to 1000, then the file is not cached. Look into the access.log, I
always have:

<IP Address> - - [17/Mar/2000:11:50:58 -0800] "GET
http://<orig-server>/jsp/size1000.jsp HTTP/1.1" 200 15250 TCP_MISS:DIRECT

In the squid.conf, I understand that maximun_object_size is 4MB by default.
What should I do to have big file being cached?

Many thanks for help.

Thien Do
Received on Fri Mar 17 2000 - 17:09:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:17 MST