Funky caching without 404s

Gary Burd (via Sam Ruby) explains how to how to cache the output of a CGI program to a single file; i.e., how to redirect requests for non-existent files to your “build-the-file-as-requested” CGI without having it trigger a spurious 404. That’s not only neat, but it means that when I adopt this for Vellum, the build-it-now CGI will work the same way (being explicitly passed a URI to build) under both Apache and IIS, thanks to Ronaldo’s instructions for running Vellum on Windows.

I'm currently available for hire, to help you plan, architect, and build new systems, and for technical writing and articles. You can take a look at some projects I've worked on and some of my writing. If you'd like to talk about your upcoming project, do get in touch.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)