Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Apache::CacheContent and unforeseen side effects

by The Mad Hatter (Priest)
on Dec 27, 2004 at 18:11 UTC ( #417594=note: print w/ replies, xml ) Need Help??


in reply to Apache::CacheContent and unforeseen side effects

One solution would be to ditch Apache::CacheContent and modify the code in your mod_perl handler to use something like Cache::Cache which will only put so many files into one directory before creating subdirectories (if you appropriately set the cache_depth option for Cache::FileCache).


Comment on Re: Apache::CacheContent and unforeseen side effects
Re^2: Apache::CacheContent and unforeseen side effects
by geektron (Curate) on Dec 27, 2004 at 18:12 UTC
    i'm getting there. Apache::CacheContent doesn't expire files, it seems, if the user hasn't revisited the content in the DefaultTTL time ...
      Ah. Could you setup a cron job to manually "expire" (aka, delete) the old files?
        i could. i'm trying to delete them now, but i can't believe i've forgotten the gnu `find` syntax for the -exec args.

        just trying to get rid of some of them NOW ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://417594]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-07-04 18:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls