cache: Return expired copy if we fail to load

Fixes #1880
Fix broken unload of view plugins