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 ( #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
Node Status?
node history
Node Type: note [id://417594]
help
Chatterbox?
[erix]: (but then there's always a next (im)possible goal)
Corion avoids running by starting on time
[choroba]: my phone showed me 1 hour 10 km which was my goal, it changed a bit after uploading to the website
[erix]: choroba I believe you ;)
[1nickt]: Corion I assume you are talking about Retry? Attempt doesn;t offer callbacks and has a much simpler interface. (Also written by someone I trust...)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-05-24 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?