On 25/08/2010 07:49, Alexander Belchenko wrote:
> Yes, I'm invalidating the cache on put, and on rename/move calls. But
> looking at logs it seems only put matters.
I would say you should rename the cache when the file is renamed. So if
you rename a b then you should do:
cache['b'] = cache['a']
del cache['a']
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 25/08/2010 07:49, Alexander Belchenko wrote:
> Yes, I'm invalidating the cache on put, and on rename/move calls. But
> looking at logs it seems only put matters.
I would say you should rename the cache when the file is renamed. So if
you rename a b then you should do:
cache['b'] = cache['a']
del cache['a']
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
2L0kACgkQd/ 3EdwGKOh3CzgCeN Iwfn4XJ+ bwygPYsbyWm8hCT PdJhHxRfllJuhSx am
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkx
jJoAn00AhZAuJic
=YIAb
-----END PGP SIGNATURE-----