Why would you need lua scripting to serve cached static files when you instead can
- create symlinks from the wordpress root directory to everything in
wp-content/cache/supercache/(blog.hostname)/ - disable directory listings
- point
server.error-handler-404to/index.php
Like this:
$HTTP["host"] == "blag.zash.se" {
server.error-handler-404 = "/index.php"
dir-listing.activate = "disable"
}
The stuff i have in the supercache/blag.zash.se/ directory is: 2009, category, page, tag. Oh, and of course index.html, which is configured to take precedence over index.php. If you have other virtual directories in your root you will need to create symlinks for those too. And of course for each year, if you have that kind of setup.
Also, with mod_compress, there’s no need for WP Super Cache’s own (apparently buggy) compression. And you get compression of scripts and style sheets.
MMN-o