• rollin@piefed.social
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    14 hours ago

    Sounds like 4chan rolled their own server-side page cache. It probably made more sense for 4chan to do that then, back when the internet was still pretty new.

    Nowadays there are a few packages that perform a similar function, like Varnish. Varnish picks up requests from the internet and where possible, it returns the response as static HTML from its own cache.

    There are other types of caching at different stages of the request lifecycle that can reduce the gap between dynamic and static website performance.

    • Denys Nykula@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      There were attempts to rewrite imageboard software with modern dynamic frameworks and caching infrastructure, but it scaled worse than oldschool index and thread html regeneration on post event, and was cancelled. The effort was called something like Infinity, by 8chan.