httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <dra...@crimson-dragon.com>
Subject Re: [users@httpd] aptmpZbGOTJ files in apache CacheRoot
Date Mon, 28 Apr 2008 17:10:57 GMT
Richard Hubbell wrote:
>Seeing thousands of files in CacheRoot that look like
>this:
>
>aptmpZbGOTJ
>
>This clearly seems like a bug.  Could this somehow be
>a feature?  I just can't imagine what purpose it would serve.
---------------- End original message. ---------------------

Why do you think this is a bug?

It looks like a temporary file name to me. I don't know the 
implementation details of the particular cache module you are using, 
but I would suspect that it uses unique temporary file names to store 
cached content to ensure that there is a unique name for each cached 
item. It really would make no sense to cache a file under its "real" 
name if there are multiple files with that name in multiple places 
under the document root.

An example where this would apply is a very common situation where 
you would have an index.html file under every subdirectory in your 
document hierarchy. By giving each cached file a unique name and 
mapping the unique file name to the URI, the cache module will serve 
the right one from the cached content.



Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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


Mime
View raw message