Bug 140683

Summary: Provide a way to bypass cache on page load
Product: WebKit Reporter: Stuart Morgan <stuartmorgan>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Enhancement Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: All   

Description Stuart Morgan 2015-01-20 10:22:15 PST
In order to implement a "request desktop page" feature in an app using WKWebView, there needs to be a way to bypass the cache when requesting a load (so that the request with the desktop UA will get new, desktop resources, rather than using cached resources which may well have been tailored to mobile). This bypass should apply to both the main page, and to any subresource loads.

Chromium did this internally with UIWebView by using its own network stack, but since that's not possible in WKWebView a specific solution for this case is necessary.

This feature is important to users since there are still many sites that serve limited experiences to mobile users without any kind of escape hatch, so there are tasks that are simply impossible to perform on the web using a mobile device without this feature.
Comment 1 Stuart Morgan 2015-01-20 10:24:36 PST
Also filed as rdar://19533833