Pocket newtab cache time update experiment
Categories
(Firefox :: Pocket, enhancement)
Tracking
()
People
(Reporter: thecount, Assigned: thecount)
References
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
We want to run an experiment that reduces the cache time for sponsored content from 30 mins to something lower, like 10 minutes.
The goal is to fix pacing issues and find any potential negative impact with this change.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by sdowne@getpocket.com: https://hg.mozilla.org/integration/autoland/rev/98461e4a690c Pocket newtab configurable cache time. r=gvn
Comment 3•2 years ago
|
||
bugherder |
Assignee | ||
Comment 4•2 years ago
|
||
[Tracking Requested - why for this release]: Ideally, we want this for an experiment in ff106.
Assignee | ||
Comment 5•2 years ago
|
||
Comment on attachment 9296032 [details]
Bug 1791615 - Pocket newtab configurable cache time.
Beta/Release Uplift Approval Request
- User impact if declined: Experiment that changes how long a user sees certain content before seeing fresh content.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. Set browser.newtabpage.activity-stream.asrouter.devtoolsEnabled to true.
-
Ensure you can see spocs.
-
Open about:newtab#devtools-ds
-
Scroll down to the spocs section, and find "Data last fetched 30 minutes ago"
-
It should be around 40 minutes or less.
-
Leave it on until it has been fetched greater than 40 minutes.
-
Expected: It should never get above 40 minutes (you might have to refresh the devtools page)
-
New test, create the pref browser.newtabpage.activity-stream.discoverystream.spocs.cacheTimeout with the string value of 5.
-
Go through steps 3-4 again.
-
Expected: If you leave it now, it should never go above 10 minutes. (cache times are usually 5-30 minutes, but there is a system tick that's another 5 minutes, so in practice the expire time can have another 5 minutes added onto it.)
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): I think it's a small patch, but more than a 1 liner, and it has been on nightly for a week. We've looked at nightly telemetry and it looks like nothing has changed. I have also done extensive QA locally.
I think though the biggest risk isn't something that would come by landing it sooner or later. The primary risks for a change like this are likely to not be noticed until it hits release/has been on release for a bit.
- String changes made/needed: None
- Is Android affected?: No
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
Comment on attachment 9296032 [details]
Bug 1791615 - Pocket newtab configurable cache time.
Approved for 106.0b8, thanks.
Comment 7•2 years ago
|
||
bugherder uplift |
Updated•2 years ago
|
Comment 8•2 years ago
|
||
I've managed to verify this issue on Beta 106.0b8 with macOS 11 and Win 10 x64, but I've encountered some potential issues regarding the data last fetched time, which is exceeding 10 minutes after modifying the pref browser.newtabpage.activity-stream.discoverystream.spocs.cacheTimeout
.
I've pinged Scott on slack regarding this, and he will look into it as well.
Comment 9•2 years ago
|
||
I was able to properly verify this on Beta 106.0b9, after bug 1792735 landed as well. I've checked this on Nightly 107.0a1 too, using Win 11 x64, macOS 11 and Ubuntu 18.04 x64.
Thanks Scott, for the extra details provided on slack.
Description
•