Carlos/Sergio

Thanks for the answers.

Can you please let me know how to set cache size. Quick check on WebKitWebContext did not show any methods that can achieve this.

Regards,

Niranjan

On 07/14/2014 01:37 AM, Sergio Villar Senin wrote:
On 11/07/14 19:09, Niranjan Rao wrote:

Because of the  way we use webkit, current cache size has grown to 60GB+
and growing. I would like to clear the cache for the items that are
older than seven days.
There is currently no way to do that. Items in cache are removed from
the cache when they become obsolete or when they're expunged due to size
limit restrictions. We use a LRU algorithm to remove the last recently
used resources first.

Removing items older than X days is a mistake in general because you
might be removing items that are commonly used and do not change regularly.

Another thing I am confused about is if a site says cache this file for
two days, after two days when we refresh the file, does the old file
gets deleted or its still on the disk?
They're deleted from disk.

BR
_______________________________________________
webkit-gtk mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-gtk

_______________________________________________
webkit-gtk mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to