Comment 12 for bug 622566

Revision history for this message
Gary van der Merwe (garyvdm) wrote : Re: [Bug 622566] Re: ftp access inefficiency

-----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-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx2L0kACgkQd/3EdwGKOh3CzgCeNIwfn4XJ+bwygPYsbyWm8hCT
jJoAn00AhZAuJicPdJhHxRfllJuhSxam
=YIAb
-----END PGP SIGNATURE-----