https://bugzilla.wikimedia.org/show_bug.cgi?id=46801
Web browser: ---
Bug ID: 46801
Summary: Notification count is outdated on browser-cached pages
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Echo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
If you revisit a page you've recently seen, it shows the same notification
count as when you last visited the page. The count itself is generated as part
of the page (not pulled from JS), and since the cache headers of the page
aren't supposed to allow caching, I'm not sure why this bug exists. The cache
headers for each page are:
Cache-Control private, must-revalidate, max-age=0
Expires Wed Dec 31 1969 16:00:00 GMT-0800 (PST)
Shouldn't that prevent the page from being cached by the client?
Steps to reproduce:
1. Load the Main Page and note what the notification count is
2. Perform some action that generates a notification for yourself (for example,
leave a talk page message with another account)
3. Soft-refresh the Main Page
You'll see that the notification count is still the same. If you hard-refresh
the page, however, it will update the count.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l