[rfc][icedtea-web][itweb-settings] Improve Icedtea-Web cache disk space
Jacob Wisor
gitne at gmx.de
Tue Sep 9 03:31:54 UTC 2014
On 09/08/2014 08:38 PM, Lukasz Dracz wrote:
>> As well, the ability to choose where icedtea-web downloads file should still
>> be enabled even if cache has a limit of 0.
>
> Yes since it still downloads the files even if they are deleted after use.
> This provides the user with more choice on where they want the files to be temporarily.
No, the UI components to choose a cache location should be kept disabled in this
case indeed. 0 means *no* *cache*. Hence, IcedTea-Web should behave as expected
which would be to store all downloaded resources in memory and if, and only if,
it should turn out to be impossible to implement proper working of IcedTea-Web
without storing resources into files then they should be stored in the system
configured user's temporary directory. In other words, if cache size is 0 then
downloaded resources /could/ go into the user's temporary directory, although
this should practically never happen because IcedTea-Web should error out with
an OutOfMemoryException before anything else in this case.
Also, the UI components denoting the cache location /could/ display the path to
the user's temporary directory if cache size is 0.
So in any event the UI components must be disabled at cache size 0.
Jacob
More information about the distro-pkg-dev
mailing list