Mailing List Archive

PCS style cache TTL
Hi!

I've edited MediaWiki:Common.css on Polish Wikipedia with an intent to hide some template's error messages in the mobile app. After two hours, the app version of an article is still being served with an outdated version of the stylesheet. (https://pl.wikipedia.org/api/rest_v1/page/mobile-html/Trz%C4%99sienie_ziemi_w_Mesynie_(1908) - these red "ODN: brak numeru strony " shouldn't be visible).

How long are stylesheets cached in that API?

User:Msz2001
Re: PCS style cache TTL [ In reply to ]
Hi! PCS static assets are cached for 24 hours. I just ran a manual purge of
the cache so CDN should have a fresh version. Keep in mind that there is
also client side caching applied that is not affected by CDN URL purges.

On Tue, Jun 6, 2023 at 9:38?PM Marcin Szwarc <marcinszwarc@hotmail.com>
wrote:

> Hi!
>
> I've edited MediaWiki:Common.css on Polish Wikipedia with an intent to
> hide some template's error messages in the mobile app. After two hours, the
> app version of an article is still being served with an outdated version of
> the stylesheet. (
> https://pl.wikipedia.org/api/rest_v1/page/mobile-html/Trz%C4%99sienie_ziemi_w_Mesynie_(1908) -
> these red "ODN: brak numeru strony " shouldn't be visible).
>
> How long are stylesheets cached in that API?
>
> User:Msz2001
> _______________________________________________
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/