feat(speed) chain statics conditionally

Put the chain of eventMiddleware -> static back
indent
use glob to know static files
didn't seem to matter

is this a good modification?