node-static icon indicating copy to clipboard operation
node-static copied to clipboard

gzip handling serves stale .gz files

Open dronus opened this issue 11 years ago • 0 comments

If .gz files are found, they should not be served if they are older then the file originally requested. As they are stated anyway, that should not add performance drawbacks, but prevent outdated documents beeing served.

Additionally, a user attached callback could be invoked, which may create a recent .gz file or issue a warning to some log.

Not a bug, merely a small missing feature that may do big headaches.

dronus avatar Feb 24 '14 23:02 dronus