1 hour ago · Tech · hide · 0 comments

Every so often I get a question about Pagecord that I reply to on the socials, or over email. Email is private and I delete old social content, so I thought it might be fun to answer some of these questions in public on my blog now and again. Consider this a pilot episode. Here we go! Does Pagecord generate the page each time someone visits, or are the pages static? The honest answer is "a bit of both"! For blogs on a pagecord.com address (e.g blog.pagecord.com), the page is cached by Cloudflare at the edge for 12 hours. So after the first visit, your readers are served a cached copy from a server near them, and the request never touches Pagecord at all. The only thing that still fires is a tiny analytics ping from the browser, which is how page views keep getting counted even though the page itself is cached. If a customer updates a post, Pagecord tells Cloudflare to refresh that blog's cache. For blogs using a custom domain, pages aren't edge-cached just yet, so most of those…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.