User:Lemma/KonquerorCaching: Difference between revisions

From KDE TechBase
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page is meant to display the current state of reloading content on several actions with caching enabled or disabled.
This page is meant to display the current state of reloading content on several actions with caching enabled or disabled.


This is for KDE bug 59965.


== KDE 4.1 trunk r803905 ==
== KDE 4.1 trunk r803905 ==


The cache policy was set to sync with a cache cleared before and big enough to fit everything. As to printing I printed everything to PDF as I didn't have that much spare paper. I hope that doesn't actually influence the tests I did.
The cache policy was set to "use cache" with a cache cleared before and big enough to fit everything. As to printing I printed everything to PDF as I didn't have that much spare paper. I hope that doesn't actually influence the tests I did.


{| border="1"
{| border="1"
Line 44: Line 45:
| '''reload'''
| '''reload'''
| '''no reload'''
| '''no reload'''
| '''reload'''
| no reload
| '''no reload'''
| no reload
|-valign="top"
|-valign="top"
| switch khtmlimage
| switch khtmlimage
| '''reload'''
| '''reload'''
| '''no reload'''
| '''no reload'''
| '''no reload'''
| no reload
| '''no reload'''
| no reload
|-valign="top"
|-valign="top"
| switch okularkimgio
| switch okularkimgio
| '''reload'''
| '''reload'''
| '''no reload'''
| '''no reload'''
| '''reload''' (3)
| no reload
| '''no reload'''
| no reload
|-valign="top"
|-valign="top"
| rowspan="1" | khtmlimage
| rowspan="1" | khtmlimage
Line 63: Line 64:
| no reload
| no reload
| no reload
| no reload
| reload/no reload (2)
| no reload
| no reload
| no reload
|-valign="top"
|-valign="top"
Line 102: Line 103:
| '''reload'''
| '''reload'''
| '''no reload'''
| '''no reload'''
| '''reload'''
| no reload
| '''no reload'''
| no reload
|-valign="top"
|-valign="top"
| rowspan="2" | emb. edit
| rowspan="2" | emb. edit
Line 119: Line 120:
|}
|}


* (1) in the caching test, gvpart displayed an image from a previous uncached test even on shift-reload
* (1) in the caching test, gvpart wouldn't show reloaded/updated pictures while okular and khtmlimage did.
* (2) regarding images with cache enabled, the okular part always reloads the image whereas the khtmlimage part only reloads when it's being switched to for the first time. It almost seems as if htmlimage and gvpart were not sharing the same part.
* (3) contrary to (2) the okular part '''always''' reloads images no matter the caching settings and even if switching okular -> gvpart -> okular


=== Summary ===
=== Summary ===


As it seems everything except switching the view does '''not''' reload the content you are viewing. Switching the view should behave the same so this might be considered a bug. When having the cache enabled, the gvpart doesn't show any updates but keeps showing the old version which is a bug as well. Also on cachin
As it seems everything except switching the view does '''not''' reload the content you are viewing. Switching the view should behave the same so this might be considered a bug. When having the cache enabled, the gvpart doesn't show any updates but keeps showing the old version which is a bug as well.


== KDE 3.5.9 ==
== KDE 3.5.9 ==


The cache policy was set to sync with a cache cleared before and big enough to fit everything. As to printing I printed everything to PDF as I didn't have that much spare paper. I hope that doesn't actually influence the tests I did.
The cache policy was set to "use cache" with a cache cleared before and big enough to fit everything. As to printing I printed everything to PDF as I didn't have that much spare paper. I hope that doesn't actually influence the tests I did.


{| border="1"
{| border="1"
Line 145: Line 144:
|-valign="top"
|-valign="top"
| rowspan="2" | pdf
| rowspan="2" | pdf
| rowspan="2" | okular
| rowspan="2" | kpdf
| print
| print
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| save copy
| save copy
| unsure
| '''reload'''
| unsure
| '''no reload'''
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| rowspan="7" | image
| rowspan="9" | image
| rowspan="4" | gvpart (1)
| rowspan="4" | gvpart
| print
| print
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| save
| save
| unsure
| '''reload'''
| unsure
| '''no reload'''
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| switch khtmlimage
| switch khtmlimage
| unsure
| '''reload'''
| unsure
| '''no reload'''
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| switch okularkimgio
| switch kview
| unsure
| '''reload'''
| unsure
| '''no reload'''
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| rowspan="1" | khtmlimage
| rowspan="2" | khtmlimage
| print
| print
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|-valign="top"
| switch gvpart
| '''reload'''
| '''no reload'''
| no reload
| no reload
|-valign="top"
|-valign="top"
| rowspan="2" | okularkimgio
| rowspan="3" | kview
| print
| print
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| save copy
| save copy
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|-valign="top"
| switch gvpart
| '''reload'''
| '''no reload'''
| no reload
| no reload
|-valign="top"
|-valign="top"
| rowspan="6" | html
| rowspan="6" | html
| rowspan="4" | khtml
| rowspan="4" | khtml
| print
| print
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| save
| save
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| show src
| show src
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| switch emb. edit
| switch emb. edit
| unsure
| '''reload'''
| unsure
| '''no reload'''
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| rowspan="2" | emb. edit
| rowspan="2" | emb. edit
| print
| print
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|-valign="top"
|-valign="top"
| save
| save
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
| unsure
| no reload
|}
|}


=== Summary ===
=== Summary ===
The behaviour is a little different on trunk. Regarding images it's noticeable that gvpart displays images correctly and not an older, cached version.

Latest revision as of 10:28, 3 June 2008

This page is meant to display the current state of reloading content on several actions with caching enabled or disabled.

This is for KDE bug 59965.

KDE 4.1 trunk r803905

The cache policy was set to "use cache" with a cache cleared before and big enough to fit everything. As to printing I printed everything to PDF as I didn't have that much spare paper. I hope that doesn't actually influence the tests I did.

type part action caching disabled caching enabled
actual beh. expected beh. actual beh. expected beh.
pdf okular print no reload no reload no reload no reload
save copy no reload no reload no reload no reload
image gvpart (1) print no reload no reload no reload no reload
save reload no reload no reload no reload
switch khtmlimage reload no reload no reload no reload
switch okularkimgio reload no reload no reload no reload
khtmlimage print no reload no reload no reload no reload
okularkimgio print no reload no reload no reload no reload
save copy no reload no reload no reload no reload
html khtml print no reload no reload no reload no reload
save no reload no reload no reload no reload
show src no reload no reload no reload no reload
switch emb. edit reload no reload no reload no reload
emb. edit print no reload no reload no reload no reload
save no reload no reload no reload no reload
  • (1) in the caching test, gvpart wouldn't show reloaded/updated pictures while okular and khtmlimage did.

Summary

As it seems everything except switching the view does not reload the content you are viewing. Switching the view should behave the same so this might be considered a bug. When having the cache enabled, the gvpart doesn't show any updates but keeps showing the old version which is a bug as well.

KDE 3.5.9

The cache policy was set to "use cache" with a cache cleared before and big enough to fit everything. As to printing I printed everything to PDF as I didn't have that much spare paper. I hope that doesn't actually influence the tests I did.

type part action caching disabled caching enabled
actual beh. expected beh. actual beh. expected beh.
pdf kpdf print no reload no reload no reload no reload
save copy reload no reload no reload no reload
image gvpart print no reload no reload no reload no reload
save reload no reload no reload no reload
switch khtmlimage reload no reload no reload no reload
switch kview reload no reload no reload no reload
khtmlimage print no reload no reload no reload no reload
switch gvpart reload no reload no reload no reload
kview print no reload no reload no reload no reload
save copy no reload no reload no reload no reload
switch gvpart reload no reload no reload no reload
html khtml print no reload no reload no reload no reload
save no reload no reload no reload no reload
show src no reload no reload no reload no reload
switch emb. edit reload no reload no reload no reload
emb. edit print no reload no reload no reload no reload
save no reload no reload no reload no reload

Summary

The behaviour is a little different on trunk. Regarding images it's noticeable that gvpart displays images correctly and not an older, cached version.