Closed Bug 1104119 Opened 10 years ago Closed 9 years ago

Make document zone caching smarter

Categories

(developer.mozilla.org Graveyard :: Performance, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jezdez, Unassigned)

References

Details

(Whiteboard: [specification][type:change])

What feature should be changed? Please provide the URL of the feature if possible.
==================================================================================
The wiki app stores the zone URL mapping with the default cache TTL of 60 seconds (!) in the current prod setup, so it would probably makes sense to increase that to a sensible time like a day and invalidate the cache when document is saved and url_root field is not empty

What problems would this solve?
===============================
Fewer cache invalidation, fewer db queries

Who would use this?
===================
n/a

What would users see?
=====================
n/a

What would users do? What would happen as a result?
===================================================
n/a

Is there anything else we should know?
======================================
Blocks: 1104093
Component: General → Performance
Depends on: 1104103
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/26efc73fa3b2a9ae086640d55b99f2e74155596b
Fix bug 1104119 - Cache refill instead of invalidation for document zone remaps.

This resets the cached document zone remaps when saving documents instead just deleting them when saving the zone.

https://github.com/mozilla/kuma/commit/fe633f89fed7f3b48e6b86c556234fb544593d40
Merge pull request #3067 from mozilla/bug1104119

Fix bug 1104119 - Cache refill instead of invalidation for document zone remaps.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.