Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
how to cache object use file cache?
  • how to cache object use file cache?
    now i use apc ,memcached,redis. but when i use file cahce to cache object,it is not work.
  • Please define "not work"? What do you do? What happens? Any errors? I use the file cache all the time, without problems.
  • i try again ,now it is ok. if cache file is a lot.
    i check file all in cache dir.
    in this dir root path will many files.
    is it support cache file in subdirectory automatic.
    for example. i define largest file nums is 500, when it 500 files,then it will create subdirectory to storage cache files.
    thank you .
  • No, it doesn't do that automatically, you'll have to use dot-notation for the cache key. So "this.is.a.key" will be stored in "this/is/a/key.cache".

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion