danwent / Perspectives

Perspectives Firefox Extension
http://perspectives-project.org
66 stars 19 forks source link

Feature: Cache manager #158

Open ghost opened 10 years ago

ghost commented 10 years ago

See discussion at mailing list - Merge with Convergence?

convergence 3a - cache manager

ghost commented 10 years ago

Btw I noticed the cache only exists for the current session

daveschaefer commented 10 years ago

the cache only exists for the current session

I'm not sure if you mean the Convergence cache or the Perspectives cache, but:

Currently I would vote that the design should be to only cache things for the current session. That way we avoid many privacy issues because no data has to be written to disk, so we don't have to worry about whether it's properly secured, encrypted, deleted, etc. We don't have to worry about using the right browser API or OS functionality to read and write data in the right way (e.g. is it a local sqlite database? some text files?)

Would you like to be able to cache any data beyond the current session?

ghost commented 10 years ago

I meant the Perspectives cache.

That way we avoid many privacy issues because no data has to be written to disk, so we don't have to worry about whether it's properly secured, encrypted, deleted, etc.

It's inconsistent though. We implemented the cache to avoid privacy issues (re-querying all the time) but refuse to extend the cache because of privacy issues :). But I see your point that we have to properly secure it and delete on history clearing or private browsing.

I'd vote to extend it but with low priority, as privacy is not our main focus.