The channel backlog updates regularly, but it turns out some conservative estimates are probably okay for now. For new, let's start with using proper Last-Modified headers so that clients should receive a 304 Not Modified if the backlog did not update since the last visit. We can also use a Cache-Control: public, max-age=10 to allow this request to be cache for 10s to avoid unneeded network roundtrips.
In its current state, this project does not aim to replace Quassel (or any other complete IRC client for that matter), so we'll just start with a hard-coded default for now and eventually evaluate this again.
The channel backlog updates regularly, but it turns out some conservative estimates are probably okay for now. For new, let's start with using proper
Last-Modified
headers so that clients should receive a304 Not Modified
if the backlog did not update since the last visit. We can also use aCache-Control: public, max-age=10
to allow this request to be cache for 10s to avoid unneeded network roundtrips.In its current state, this project does not aim to replace Quassel (or any other complete IRC client for that matter), so we'll just start with a hard-coded default for now and eventually evaluate this again.