Add WebContext.maxCacheSizeHint property
Bug #1277659 reported by
Chris Coulson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Oxide |
Fix Released
|
Medium
|
Olivier Tilloy | |||
webbrowser-app |
Fix Released
|
Medium
|
Olivier Tilloy | |||
webbrowser-app (Ubuntu) | ||||||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
The maximum cache size is hardcoded to 80MB - this should be exposed as a property on WebContext. Ideally we would set a low default value for most embedders, and the browser will override this because it will want a much larger cache
Related branches
lp://staging/~osomon/oxide/maxCacheSize
- Chris Coulson: Approve
-
Diff: 382 lines (+110/-11)10 files modifiedqt/core/browser/oxide_qt_web_context.cc (+16/-1)
qt/core/browser/oxide_qt_web_context.h (+5/-1)
qt/core/glue/oxide_qt_web_context_adapter.cc (+9/-1)
qt/core/glue/oxide_qt_web_context_adapter.h (+4/-1)
qt/qmlplugin/oxide_qml_plugin.cc (+3/-1)
qt/quick/api/oxideqquickwebcontext.cc (+38/-1)
qt/quick/api/oxideqquickwebcontext_p.h (+8/-1)
qt/tests/qmltests/api/tst_WebContext_semi_construct_only_properties.qml (+2/-1)
shared/browser/oxide_browser_context.cc (+19/-2)
shared/browser/oxide_browser_context.h (+6/-1)
lp://staging/~osomon/webbrowser-app/maxCacheSizeHint
- Alexandre Abreu (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 110 lines (+35/-3)3 files modifieddebian/control (+1/-1)
src/Ubuntu/Web/UbuntuWebContext.qml (+5/-2)
src/Ubuntu/Web/plugin.cpp (+29/-0)
Changed in oxide: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in oxide: | |
milestone: | none → branch-1.6 |
Changed in oxide: | |
assignee: | nobody → Olivier Tilloy (osomon) |
Changed in oxide: | |
status: | Triaged → In Progress |
summary: |
- Add WebContext.maxCacheSize property + Add WebContext.maxCacheSizeHint property |
Changed in webbrowser-app: | |
status: | New → In Progress |
assignee: | nobody → Olivier Tilloy (osomon) |
importance: | Undecided → Medium |
Changed in oxide: | |
status: | In Progress → Fix Released |
Changed in webbrowser-app: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Interesting read on Firefox on Android’s use of a disk cache: https:/ /gbrownmozilla. wordpress. com/2013/ 06/19/firefox- for-androids- disk-cache/.