SlowFS Cache or Proxy_Cache for GridFS

Elena Zwetkow ezwetkow at
Mon Feb 21 19:56:51 MSK 2011


checking SlowFS looks like a good solution for caching Files/Images stored by GridFS (MongoDB). But my config saves no file in my "fastcache" dir:

location / {
  gridfs              test field=filename type=string;
  slowfs_cache        fastcache;
  slowfs_cache_key    $uri;
  slowfs_cache_valid  1d;

Any ideas how to cache Files stored in GridFS? Perhaps Proxy_Cache can Store the files localy? Any Ideas are welcome.

Thanks for your help.

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro!

More information about the nginx mailing list