Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Apache::CacheContent and unforeseen side effects

by The Mad Hatter (Priest)
on Dec 27, 2004 at 18:11 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://417594]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-25 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found