We have a Phonegap application that uses remotely served images.
The images are served with a Cache-Control header: 'Cache-Control': 'max-age=31536000'.
Prior to iOS 12, the images were fetched once and cached during the usage of the app. After upgrading to iOS 12, the cache stopped working and images are always fetched from the server. We use UIWebView (we have not yet migrated to WKWebView).
It does not happen in Safari on iOS 12 or any other platform (Android / web).
I cannot find any information on why this suddenly no longer works. Does anyone have a clue?
In the end we ended up migrating to WKWebView instead.
For Phonegap/Cordova users: I can highly recommend using cordova-plugin-ionic-webview: https://github.com/ionic-team/cordova-plugin-ionic-webview to quickly migrate to WKWebView instead of UIWebView.