-
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
Discuss on Mastodon