Feature #333
Static files serving improvements
Status: | Approved | Start date: | 10/04/2012 | |
---|---|---|---|---|
Priority: | Normal | Due 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
History
#1 Updated by Miroslav Fidler over 12 years ago
- Status changed from Patch ready to Approved
#2 Updated by Miroslav Fidler over 12 years ago
Thanks, looks good, was planning something like this...
#3 Updated by Miroslav Fidler over 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 over 12 years ago
- Status changed from Ready for QA to Approved
Tested, works well. Thanks for pointing out and fixing the flaws ;-)