codingteam / loglist

Reincarnation of the famous service
https://loglist.xyz/
MIT License
7 stars 4 forks source link

Caching #155

Open Minoru opened 8 years ago

Minoru commented 8 years ago

With RSS feed, we can now expect an influx of traffic: RSS readers check feeds as often as once in a few minutes. And while it's not too big a strain for client to download 20Kb of XML every now and then, the server will certainly notice.

All these problems can be solved if we start setting ETag and Last-Modified headers in the responses (and processing If-None-Match and If-Modified-Since headers in requests).