[comixed] Re: Cover cache - what triggers it?

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

Magic.

Would it be worth requesting a way to trigger it for all comics in the admin 
panel?  

From: Darryl L. Pierce
Sent: Monday, 16 December 2019 2:26 AM
To: comixed@xxxxxxxxxxxxx
Subject: [comixed] Re: Cover cache - what triggers it?

There are two points where the caching service comes into play:
 1. when the frontend requests the cover for a comic,
 2. when the frontend requests the content for a specific page out of a comic, 
and
 3. when the frontend requests the contents for a page directly.

in each of those cases, the backend grabs the page's details out of the 
database, converts the page's hash into a path and then peeks into the caching 
directory to see if a file exists. If it does, it returns the contents of the 
file, which is the image. Otherwise, it pulls the file out of the archive, 
creates that caching file, then returns the contents.

On Sat, Dec 14, 2019 at 8:32 PM bareheiny <dmarc-noreply@xxxxxxxxxxxxx> wrote:
As per subject,  what triggers the generation of the cove caches?



-- 
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: