Uses Apache mod_rewrite to check if files exist
New cache files are written on publish
Configuration can determine which nodes should always be updated
RewriteEngine On
RewriteCond /dat/ez.no/static/index.html -f
RewriteRule ^/$ /static/index.html [L]
RewriteCond /dat/ez.no/static/index.html -f
RewriteRule ^$ /static/index.html [L]
RewriteCond %{REQUEST_METHOD} !^POST$
RewriteCond /dat/ez.no/static$1/index.html -f
RewriteRule ^(.*)$ /static$1/index.html [L]
RewriteRule !\.(gif|css|jpg|png|jar|ico|js)$ /index.php