improve proxy performance of serving static files

the patch significantly improves performance of the proxy serving static files: we reduce run time of our non-functional test suites from 36 seconds to 16 seconds