🇵🇸 Donate eSIMs to Gaza 🇵🇸

Note: 12

Subscribe with RSS or follow me on Mastodon!

↩ All Notes
  1. (Permalink)

    #coding

    I use pandoc heavily for my blog generator, converting the markdown files I write my content in to the HTML or Mastonified text that I actually upload.

    It works great, but my generator script was running it against dozens of files everytime I changed anything, and my site was taking on the order of ~5 seconds to re-generate.

    May not seem like a lot, but it used to be run pretty instantaneously, and the delay was starting to make writing new blog posts frustrating.

    Solution? I added a cache of the pandoc-ed content! Generation times are back to instant!

    Hurray for caching! :D

    Goku from Dragon Ball Z, with his fingers on his forehead, using the instant transmission technique Discuss on Mastodon