4chan / 4chan-API

Documentation for 4chan's read-only JSON API.
http://www.4chan.org/
1.03k stars 73 forks source link

Archives falsely update Last-Modified timestamp #78

Closed shiimizu closed 4 years ago

shiimizu commented 4 years ago

archive.json emits an updated Last-Modified whenever threads.json is updated even though the archive contents are unmodified.

This generates unnecessary bandwidth for those relying on Last-Modified from If-Modified-Since which the API rules states to use.

desuwa commented 4 years ago

archive.json emits an updated Last-Modified whenever threads.json is updated

This should be fixed now.

Although there will still be some rare cases where archive.json is regenerated even though the archives didn't change.

shiimizu commented 4 years ago

Thanks for the quick response. Yeah it seems to be working fine now.