Decide webview cache based on device.
Improved cache handling.