Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conditional requests to RSS feed reader #413

Open
charlesharries opened this issue Mar 12, 2025 · 0 comments
Open

Add conditional requests to RSS feed reader #413

charlesharries opened this issue Mar 12, 2025 · 0 comments

Comments

@charlesharries
Copy link

Description

All requests for RSS feeds are currently unconditional, which means that every time the app is loaded (and the widget cache is stale), every RSS feed is fully reloaded.

This isn't efficient, as many RSS feeds will include Last-Modified and Etag headers to indicate when a feed was last updated. If a feed hasn't been updated since last fetch, Glance should use a cached version of the feed and avoid downloading the (potentially quite heavy) full feed all over again.

I was turned onto the issue by rachelbythebay, who wrote up a decent review of how "well-behaved" feed readers should make requests:

http://rachelbythebay.com/w/2023/01/18/http/

I'm happy to put together a PR implementing these conditional requests for the RSS reader widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant