Re: [Sugar-devel] Browse cache bloat

2011-05-20 Thread Walter Bender
On Fri, May 20, 2011 at 1:24 AM, Sebastian Silva sebast...@somosazucar.orgwrote: I've implemented the first part of this patch. It deletes partial downloads when user clicks on cancel button or deletes journal download entry. This should already mitigate thie situation. Alas, the partial

Re: [Sugar-devel] Browse cache bloat

2011-05-20 Thread Gonzalo Odiard
Part of the problem is the user does not know nothing about the existence of this files. Gonzalo On Fri, May 20, 2011 at 9:51 AM, Walter Bender walter.ben...@gmail.comwrote: On Fri, May 20, 2011 at 1:24 AM, Sebastian Silva sebast...@somosazucar.org wrote: I've implemented the first part

Re: [Sugar-devel] Browse cache bloat

2011-05-20 Thread Sebastian Silva
Here's the patch until now. This avoids a growing instance dir except for the case when the machine or browse crash. Its not the cache but the partial downloads that fill up the disk (generally firefox saves these partial downloads in the filesystem along with the download. Browse puts these in

Re: [Sugar-devel] Browse cache bloat

2011-05-20 Thread Rafael Ortiz
On Fri, May 20, 2011 at 9:32 AM, Sebastian Silva sebast...@somosazucar.orgwrote: Here's the patch until now. This avoids a growing instance dir except for the case when the machine or browse crash. Its not the cache but the partial downloads that fill up the disk (generally firefox saves

Re: [Sugar-devel] Browse cache bloat

2011-05-20 Thread Rafael Ortiz
On Fri, May 20, 2011 at 12:14 PM, Rafael Ortiz raf...@activitycentral.comwrote: On Fri, May 20, 2011 at 9:32 AM, Sebastian Silva sebast...@somosazucar.org wrote: Here's the patch until now. This avoids a growing instance dir except for the case when the machine or browse crash. Its not

[Sugar-devel] Browse cache bloat

2011-05-19 Thread Sebastian Silva
Hi, dirakx and I are working on Browse and are trying to find a way to fix http://bugs.sugarlabs.org/ticket/2659 - [dx2] Browse should have a cache cleaning policy It seems to us the only way to bloat the .sugar/default/org.laptop.WebActivity/instance dir is by doing a large download and