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.


More in the discussion (powered by webmentions)

  • (no mentions, yet.)