Bug 19815 - [Gtk] Need a public method to reload view bypassing cache
Summary: [Gtk] Need a public method to reload view bypassing cache
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
Keywords: Gtk
Depends on:
Reported: 2008-06-29 11:22 PDT by Xan Lopez
Modified: 2009-01-08 04:33 PST (History)
2 users (show)

See Also:

0001-Add-webkit_web_view_reload_bypass_cache.patch (2.55 KB, patch)
2009-01-03 15:47 PST, Xan Lopez
zecke: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xan Lopez 2008-06-29 11:22:18 PDT
Something like webkit_web_view_reload_bypass_cache (WebKitWebView *view);

Needed by Epiphany (and pretty much any web browser using webkit/gtk I guess). GNOME bug: http://bugzilla.gnome.org/show_bug.cgi?id=540781
Comment 1 Jan Alonzo 2008-09-24 02:18:27 PDT
Will this method be used very often or just instances where you want to bypass the cache? I'm just thinking if we can add a setting and make the public _reload methods respect that setting..
Comment 2 Cosimo Cecchi 2008-09-24 02:38:44 PDT
This would be used upon user request I guess, think about F5 vs Ctrl+F5 in Epiphany or Firefox.
Comment 3 Xan Lopez 2009-01-03 15:47:15 PST
Created attachment 26394 [details]

From d70e234eaaefaf3d0f545605f99c67f59c88702f Mon Sep 17 00:00:00 2001
From: Xan Lopez <xan@gnome.org>
Date: Sun, 4 Jan 2009 01:45:45 +0200
Subject: [PATCH] Add webkit_web_view_reload_bypass_cache.

 WebKit/gtk/ChangeLog                |   12 ++++++++++++
 WebKit/gtk/webkit/webkitwebview.cpp |   15 +++++++++++++++
 WebKit/gtk/webkit/webkitwebview.h   |    3 +++
 3 files changed, 30 insertions(+), 0 deletions(-)
Comment 4 Holger Freyther 2009-01-08 03:46:36 PST
Comment on attachment 26394 [details]

Once Gtk+ 3.0 comes around we should merge that with the plain reload method...
Comment 5 Holger Freyther 2009-01-08 04:33:56 PST
Landed in r39700.