Summary: | kmymoney online quotes are cached by KDE | ||
---|---|---|---|
Product: | [Applications] kmymoney2 | Reporter: | Michael Sims <jellicle> |
Component: | general | Assignee: | KMyMoney Development Team <kmymoney2-developer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Michael Sims
2005-12-14 00:12:55 UTC
Fascinating. I guess KIO::NetAccess::download hits the cache. There doesn't seem to be any easy way to get around this behaviour. The solution seems to be to use KIO::get instead, which is a bit more complicated. </Ace> On Tue, Dec 13, 2005 at 11:12:57PM -0000, Michael Sims wrote: [bugs.kde.org quoted mail] IMO, NOTABUG, what did you think "Use cache whenever possible" means? If you can't live with the consequences of setting it, *don't use it*. Regarding comment #2: Well, when I configure a BROWSER to use cache whenever possible, it is certainly NOT expected that my financial tracking app would use the BROWSER's cache when looking up prices. This should be a situation, frankly, where it is not possible to use the cache. Kmymoney never wants the content in the cache, since almost certainly Kmymoney caused it to be cached in the first place and the whole point of the request is to get fresh data, never stale... The bug isn't entirely Kmymoney's fault - if Yahoo (or whoever) was properly setting the headers for its download, KDE probably wouldn't hit the cache for subsequent requests. But since that is beyond your control, KMymoney should do the equivalent of a "shift-reload", a request that does not hit the cache. I do not know what the default cache setting is for new KDE installations (and no doubt various distributions set it to their liking). But you can't presume that all or even many KDE users will realize that the settings for KDE's web browser will affect the behavior of Kmymoney. You should at least post a FAQ/workaround somewhere: "Online quotes aren't updating properly! What should I do?" Well, we'll post a FAQ as soon as it becomes a frequently asked question. So far this is the only report of a problem in this area. I agree it's a bug, though. It's something we should address. </Ace> On Wed, Dec 14, 2005 at 03:07:53PM -0000, Michael Sims wrote: [bugs.kde.org quoted mail] Changed code (actually duplicated from NetAccess) and force to bypass the cache. Hopefully I did the right thing. |