Bug 140683 - Provide a way to bypass cache on page load
Summary: Provide a way to bypass cache on page load
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-01-20 10:22 PST by Stuart Morgan
Modified: 2015-01-20 10:24 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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