Feature #333

Static files serving improvements

Added by Jan Dolinár almost 12 years ago. Updated almost 12 years ago.

Status:ApprovedStart date:10/04/2012
Priority:NormalDue date:
Assignee:Jan Dolinár% Done:

100%

Category:Wpp (web framework)Spent time:-
Target version:-

Description

Hi,

I figured out serving the static files with no caching is not a very clever idea. So I added optional caching to the ServeStaticPage handler. The attached patch includes those changes + a witz function to make it easier to use + documentation.

Please review the code and consider applying it.

Honza

Static.patch Magnifier (5.03 KB) Jan Dolinár, 10/04/2012 06:21 PM

History

#1 Updated by Miroslav Fidler almost 12 years ago

  • Status changed from Patch ready to Approved

#2 Updated by Miroslav Fidler almost 12 years ago

Thanks, looks good, was planning something like this...

#3 Updated by Miroslav Fidler almost 12 years ago

  • Status changed from Approved to Ready for QA
  • Assignee changed from Miroslav Fidler to Jan Dolinár

#4 Updated by Jan Dolinár almost 12 years ago

  • Status changed from Ready for QA to Approved

Tested, works well. Thanks for pointing out and fixing the flaws ;-)

Also available in: Atom PDF