Page MenuHomePhabricator

FeaturedFeeds should truncate feed items if they're too big
Open, Needs TriagePublic


Follow-up from T270631: When logged in, loading the frwiki homepage takes a very long time, T266865: Very long response time on frwiki main page.

If a feed isn't configured properly, it's possible for the feed to be too large to fit into memcached, which means it could take 20-30 seconds to load the uncached feed. I propose that if a feed item is too large (based on some arbitrary limit that should be determined), FeaturedFeeds will truncate it to just provide whatever fits, and then a link to the full page. While this is usually considered a RSS antipattern, I think it makes sense if the feed is just too big for us to serve in a performant way.