Feature #5746
openAdd a configuration option for wthttpd to set expiration duratio
0%
Updated by Kayra Akman almost 7 years ago
I was expecting to interact with browsers autocorrection when I pressed Enter.
Currently, wthttpd sets an expiration duration of 1 hour to static resources served from the docroot/resources folder. A configuration option in wt config file to set a different duration would be a nice way to improve performance.
Wthttpd is very useful and practical for a lot of use cases. IMO, those use cases are more suitable for long expiration durations for static resources than when Wt is used behind a full-fledged web server. The default 1 hour expiration duration is too short for static resources. Since WResource allows serving resources with infinite flexibility, it is a missing opportunity for performance if it is not possible to better use browser caches for static resources.