[comixed-dev] Re: Cover caching.

  • From: "bareheiny" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "bareheiny" for DMARC)
  • To: "comixed-dev@xxxxxxxxxxxxx" <comixed-dev@xxxxxxxxxxxxx>
  • Date: Mon, 16 Dec 2019 10:08:12 +1300

Sorting may not be an issue – lack of sleep over the weekend is causing a few 
cognitive issues.

Ignoring the donut chart page, I’m still seeing weird behaviour when navigating 
library pages.

Starting on page one, the comic count (bottom left of the screen) starts at 100 
and slowly increases...at the same time, covers are loaded (slowly...which is 
odd, as they have been cached before).

When navigating to another page of the library (usually page 2), nothing 
happens for a period of time...after which the cover panes are cleared (i.e. 
the images from page 1 are removed, and the placeholder panes are shown).  The 
comic count resets to 100 and the covers are slowly loaded.


The upshot of this is that navigating the library is painfully slow ☹

From: Darryl L. Pierce
Sent: Monday, 16 December 2019 2:20 AM
To: comixed-dev@xxxxxxxxxxxxx
Subject: [comixed-dev] Re: Cover caching.

For the sorting, I'm guessing there's likely still a bug in that code. :-/

On Sun, Dec 15, 2019 at 4:01 AM bareheiny <dmarc-noreply@xxxxxxxxxxxxx> wrote:
Not sure I’m seeing any increase in load times...but I am seeing odd behaviour 
in the library counts.

For example, the count gets up to 48k when fully loaded (on the doughnut chart 
page), navigating to the library page changes it to 100....which slowly 
increases.

Navigating to page 2 puts the count back to 100....and takes a long time to 
load.


I’ll keep digging when I get some time, but can I confirm this is not what is 
expected?

I had anticipated the covers to be cached slowly (seems to be happening), but 
the decreased  load times have t materialised.

I’m also seeing odd behaviour in the library load...I default to sort by date 
loaded, but the comics are being loaded in series groups - with log messages to 
that effect.


-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
"Le centre du monde est partout." - Blaise Pascal
"Let's try and find some point of transcendence and leap together." - Gord 
Downie

Other related posts: