Implement cash pruning for web applications in certain situations

Signed-off-by: Simon Busch <morphis@gravedo.de>
Relaunch first use app when compositor goes away and comes back

Signed-off-by: Simon Busch <morphis@gravedo.de>