You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Francisco Javier Villa <fj...@alu.um.es> on 2002/11/14 13:18:47 UTC
[users@httpd] replies in Apache
Hello everybody,
I would like to know the way Apache replies to a URL request. When the
URL has been mapped to the URI, does Apache load the file in L2 cache
in order to make the response? I don't know if Apache reads the file
from disk directly and then make the reply, stores the page in L2 cache,
or in a disk buffer at main memory. If it read the file from disk, if a
second request to the same URI is made, then it can't been satisfied
from L2, and the reply time will be higher, I suppose.
Thanks.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] replies in Apache
Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 14 Nov 2002, Francisco Javier Villa wrote:
> Hello everybody,
>
> I would like to know the way Apache replies to a URL request. When the
> URL has been mapped to the URI, does Apache load the file in L2 cache
> in order to make the response? I don't know if Apache reads the file
> from disk directly and then make the reply, stores the page in L2 cache,
> or in a disk buffer at main memory. If it read the file from disk, if a
> second request to the same URI is made, then it can't been satisfied
> from L2, and the reply time will be higher, I suppose.
In general, this is all handled by your OS (or even lower-level stuff in
the case of L2 cache). Your OS will retain recently accessed data in
cache so that it can be accessed more quickly.
Apache does have the mod_mem_cache (in 2.0) and mod_mmap_static (in 1.3)
that can force some memory caching. But in general, the OS should do most
of the job itself.
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org