import uwsgi #uwsgi.cache_set('/', "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\nHello World from cache") def application(env, start_response): start_response('200 OK', [('Content-Type', 'text/html')]) yield str(env['wsgi.input'].fileno()) yield "

Hello World

"