wiki icon indicating copy to clipboard operation
wiki copied to clipboard

Read-only page doesn't show the same content as when logged-in

Open zimbatm opened this issue 6 years ago • 2 comments

This happens when looking at this page: https://nixos.wiki/wiki/Workgroup

When anonymous: image

When logged in: image

Since the page list is auto-generated, is it possible that a new Workgroup page creation doesn't reset the cache of that page?

(this is issue has been reported from discourse: https://discourse.nixos.org/t/wiki-workgroup-categories-not-updated/1369/3 )

/cc @fadenb @samueldr

zimbatm avatar Nov 05 '18 08:11 zimbatm

@zimbatm I opened https://nixos.wiki/wiki/Workgroup?action=purge and clicked OK. This invalidates the MediaWiki cache (and apparently is allowed without login?)

I need to research MedaWiki caching behavior. No idea whether this is to be expected or broken in this specific setup.

fadenb avatar Nov 05 '18 10:11 fadenb

Seems like there are 2 caches (authenticated and unauthenticated), and the action you performed reset the unauthenticated one.

Maybe there's a way to reduce them to just one cache, or to keep them in sync automatically/periodically.

asymmetric avatar Nov 05 '18 10:11 asymmetric