Skip to content

perf: limit RSS items to 3 per feed#17580

Merged
wackerow merged 2 commits into
devfrom
perf/limit-rss-items-per-feed
Feb 18, 2026
Merged

perf: limit RSS items to 3 per feed#17580
wackerow merged 2 commits into
devfrom
perf/limit-rss-items-per-feed

Conversation

@pettinarip
Copy link
Copy Markdown
Member

Summary

  • Limit RSS/Atom feed items to 3 per source after sorting by date
  • Frontend only uses 1 item per source (the latest post), so storing all historical items was wasteful
  • Reduces stored JSON from ~350KB to ~5-10KB (~97% reduction)

Test plan

  • Verify RSS feed data is still fetched correctly
  • Confirm homepage Recent Posts section displays properly
  • Check that polishRSSList still receives valid data structure

The frontend only uses 1 item per source (the latest), yet we were
storing all historical items from each RSS feed (~350KB JSON).

Slice to 3 items per feed after sorting, reducing storage by ~97%
while keeping a small buffer for reliability.
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 18, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 732a533
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69962e483868c30008bb259e
😎 Deploy Preview https://deploy-preview-17580.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 59 (🟢 up 4 from production)
Accessibility: 94 (no change from production)
Best Practices: 100 (no change from production)
SEO: 99 (🔴 down 1 from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@wackerow wackerow force-pushed the perf/limit-rss-items-per-feed branch from 332f389 to 206a1d6 Compare February 18, 2026 21:00
@wackerow wackerow merged commit 3b3e154 into dev Feb 18, 2026
6 checks passed
@wackerow wackerow deleted the perf/limit-rss-items-per-feed branch February 18, 2026 22:40
@pettinarip pettinarip mentioned this pull request Feb 19, 2026
@pettinarip pettinarip mentioned this pull request Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants