elli-lib / elli_fileserve

Development has moved to elli_static.
https://github.com/elli-lib/elli_static
0 stars 4 forks source link

if-modified-since header support #5

Open tsloughter opened 7 years ago

tsloughter commented 7 years ago

If the header if-modified-since exists in the request and the file has not been modified since that time a 304 should be returned.

yurrriq commented 7 years ago

I'd love this facility in elli proper a generic middleware. I've been doing it manually for data looked up in mnesia.

yurrriq commented 7 years ago

I've started working on a generic implementation in elli_cache.