On Thu, Jul 22, 2010 at 4:41 PM, sreenivas prabhu <[email protected]> wrote: > Hello , > > We were evaluating the WebKit Browser for a Mobile Internet Device. > > We tested the GTK sample "GtkLauncher" browser under the > WebKitTools/GtkLauncher folder. > > Our intent was to check the page cache mechanism in the webkit browser. > We enable the page cache by setting the "enable-page-cache" option to TRUE > .We have also set the cache size. > > I have provide the code snippet below: > > // Setting cache size > webkit_application_cache_set_maximum_size (5242880); > // get the setting > WebKitWebSettings* settings = webkit_web_view_get_settings(web_view); > g_object_set(settings, "enable-page-cache", TRUE, NULL); > > > When we perform the Back operation the page is loaded afresh and not taken > from the cache. It works for light html without any js or flash support. > Is this a known behaviour or a bug ?? I think cache is enabled by default. Flash is not cached AFAIK. How do you know JS is not getting cached? can you disconnect the n/w before pressing back and check.
> > Awaiting your kind reply.. > > -- > Best Regards > ~Sreeni > > _______________________________________________ > webkit-help mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
