meta-digi/meta-digi-dey/dynamic-layers/webkit/recipes-browser
Gabriel Valcazar 8ec2635654 wpewebkit: add workaround to improve memory usage in ConnectCore Demo app
Even though we launch said demo with WebKit's page cache disabled, WebKit still
caches most of the demo's contents for two reasons:

    * The demo is browsed using a non-HTTP(S) protocol (file://)
    * The demo is contained within the same domain (same-site browsing)

This can lead to unexpected behavior on platforms with small RAM size. Add
a workaround to force WebKit to create a new web process everytime we open
a page on the demo, deleting the previous process and freeing its memory.

An alternative solution would be to alter our demo to make sure a page's
resources are correctly freed when exiting said page, but this provides a
general solution that ensures memory cleanup in all cases, albeit with slightly
longer loading times.

https://onedigi.atlassian.net/browse/DEL-9498

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-04-08 12:13:32 +02:00
..
cog webkit: cog: remove upstreamed patch 2024-10-17 13:03:37 +02:00
packagegroups ccmp15: webkit: image: reduce webkit image size 2023-02-07 14:00:52 +01:00
wpewebkit wpewebkit: add workaround to improve memory usage in ConnectCore Demo app 2025-04-08 12:13:32 +02:00