Re: aptmpZbGOTJ files in apache CacheRoot

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

 



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