Hiawatha version: 9.6
Operating System: Centos 6.5
After converting our main site to Hiawatha, no reverse proxy, we started getting lower grade performance ratings on Yslow and GTmetrix, as well as others.
These all stem from no cache expires headers being added to images, fonts, etc. This was all handled through .htaccess using apache mod_expires.
It appears hiawatha has no easy way to do this at all. Url rewriting images and other fiketypes to a php scriot to add headers is a poor solution.
Suggestion.
And should be rather easy to impkement since you send mime type headers already. In the mime.conf file allow a option to set expires headers. For example:
mime file/type 300
This would set an expires header of 300 seconds to that mime type. Add the expire header when ever this is specified in the mime configuration file.
This shouldn't be too much additional code. Please consider, or something of this nature.
Thank you Hugo, I absolutely love hiawatha. It is truly the best webserver I have used.