Closed
Bug 436679
Opened 17 years ago
Closed 17 years ago
Use memcache to cache forum pages for non logged in users
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
RESOLVED
FIXED
0.6.2
People
(Reporter: nkoth, Assigned: lorchard)
Details
(Whiteboard: tiki_feature, tiki_upstreamed)
Attachments
(1 file)
I think we should implement this, even though the Netscalers are caching forum pages. Just as bug 395271 was needed, I think this should also be done for forums.
Any comment, anyone?
Does anyone have the query count for a page like: http://support.mozilla.com/tiki-view_forum_thread.php?locale=en-US&forumId=1&comments_parentId=7801 ?
Reporter | ||
Comment 1•17 years ago
|
||
The cache should be invalidated whenever:
1) someone adds a post to the thread, as well as
2) when any post within the thread is changed. Otherwise, pagination and all that might be messed up.
3) any post within the thread is reported, or status (i.e. type in the db) changed.
Technically, this means when anyone is adding a post (a reply) to the parent id of 7801 in the example in this bug, and also whenever a post that has a parent id of 7801 is edited.
Updated•17 years ago
|
Target Milestone: 0.6 → 0.7
Updated•17 years ago
|
Target Milestone: 0.7 → 0.6.2
Assignee | ||
Comment 2•17 years ago
|
||
Attaching a patch that does output buffer caching on anonymous forum reads, with cross-locale cache invalidation on edits and report flagging. Not sure where else thread modifications happen, so throwing this patch out there for now.
Attachment #333673 -
Flags: review?(nelson)
Attachment #333673 -
Flags: review?(laura)
Comment 3•17 years ago
|
||
Comment on attachment 333673 [details] [diff] [review]
Adding output caching to forum reads for anonymous users, with cache invalidation on edits and reporting
Works for me.
Attachment #333673 -
Flags: review?(laura) → review+
Assignee | ||
Comment 4•17 years ago
|
||
Checked in as r17686
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 5•17 years ago
|
||
Les, can you please merge this to prod branch so I can tag it?
Assignee | ||
Comment 6•17 years ago
|
||
Merged to prod along with bug 448498 as r17708
Updated•16 years ago
|
Whiteboard: tiki_feature
Updated•16 years ago
|
Whiteboard: tiki_feature → tiki_feature, tiki_upstreamed
Assignee | ||
Updated•13 years ago
|
Attachment #333673 -
Flags: review?(nelson)
You need to log in
before you can comment on or make changes to this bug.
Description
•