UIWebView image cache not working on iOS 12

We have a iOS web 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.



I cannot find any clue to why this suddenly no longer working. Does anyone have a clue?

Replies

Nobody?

me too.

but .I haven't find out why.