5 comments

[ 4.2 ms ] story [ 24.0 ms ] thread
Post author here. Ask me anything!
You should really implement support for the If-Modified-Since header and if-none-match header.

Every* RSS client is going to send that header on refreshes and if you haven't posted something new since the date-time in the header, you can simply return a 304 not modified response (which is tiny).

You can get the best of all worlds with a short TTL on the CDN edge you will have low bandwidth utilization and fast updates.

Except for Tiny Tiny RSS. They're pretty anti-cache, for whatever reason.
I have if-none-match done. I am going to see about If-Modified-Since.

My site purges the cache for feeds on deploy.

Why is every rss entry taking up 6000 bytes of space? Are the whole articles even that large?