Page MenuHomePhabricator

When logged in, loading the frwiki homepage takes a very long time
Closed, ResolvedPublic

Description

Other pages are fine. Loads fine when not logged in.

Thread on the frwiki village pump

Steps to reproduce:

  1. Make sure you're logged in
  2. Go to fr.wikipedia.org

Expected behaviour:
Homepage loads instantly or in a few seconds.

Actual behaviour:
Homepage takes approximately 20 to 30 seconds to load.

Event Timeline

Yeah, this looks like the exact same issue as T266865: Very long response time on frwiki main page. Memcached error for key "WANCache:frwiki:featured-feeds:1:fr|#|v" on server "127.0.0.1:11213": ITEM TOO BIG

Two issues: 1) FeaturedFeeds shouldn't slow down the main page (T266900, patch in progress), 2) one of the frwiki feeds is too big to fit in memcache. Either we need to figure out how to make the content of the feed smaller, or figure out a different caching strategy.

one of the frwiki feeds is too big to fit in memcache. Either we need to figure out how to make the content of the feed smaller, or figure out a different caching strategy.

Specifically it's the featured feed, which contains the featured content for the entire month, repeated every day.

See https://fr.wikipedia.org/wiki/Sp%C3%A9cial:FeedItem/featured/20201220000000/fr or https://fr.wikipedia.org/wiki/Sp%C3%A9cial:FeedItem/featured/20201221000000/fr

Contrast that with https://en.wikipedia.org/wiki/Special:FeedItem/featured/20201221000000/en which just includes just that day's featured article.

@Thibaut120094 I believe this requires editing https://fr.wikipedia.org/wiki/MediaWiki:Ffeed-featured-page to point to just the day's item rather than the entire month. Could you or someone else make that change?

Legoktm triaged this task as High priority.Dec 21 2020, 6:45 PM
Legoktm claimed this task.

@Thibaut120094 I believe this requires editing https://fr.wikipedia.org/wiki/MediaWiki:Ffeed-featured-page to point to just the day's item rather than the entire month. Could you or someone else make that change?

It looks like frwp doesn't have individual per-day pages, so I guess there's nothing left to do here.