Mine
public text v1 · immutableRewriteEngine On
# if static file exists at location, serve it:
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .*? - [L]
# if cache for the file exists, serve it:
RewriteCond %{DIRECTORY_ROOT}/cache/%{REQUEST_URI} -f
RewriteRule / $
RewriteRule .*? /cache/%{REQUEST_URI} [L]
# last route is the Flow dispatcher
RewriteRule .*? /-/flow/dispatcher.php [L]