[Twisted-web] How to specify cach-control, Expires headers for the static files response

Prajwala Manchikatla m.prajwala at gmail.com
Tue Aug 12 10:21:55 EDT 2008


Hi,

   I am using twisted.web2.static.File to serve my static files. I want
to specify the Expires, Cache-control headers, so that the browser will
not load this files every time. How can I specify these header?

Thanks,
Prajwala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20080812/78=
bcc508/attachment.htm


More information about the Twisted-web mailing list