Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize first load of Content Rule Lists #406

Merged
merged 4 commits into from
Jul 18, 2023
Merged

Conversation

bwaresiak
Copy link
Collaborator

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/414709148257752/1204978316870813/f
iOS PR:
macOS PR:
What kind of version bump will this require?: Patch

Description:

Speed up initial setup of the Content Blocking stack.

Steps to test this PR:

Happy path testing - content blocking smoke tests along with attribution ones.

Removal of WebKit-cached rules lists should fall back to Last Compiled Rules cache.
Removal of WebKit-cached rules and Last Compiled Rules cache should just compile and block navigation till it's done.

Changing TDS etag (must be done manually) should cause miss of initial lookup but fallback to Last Rules.
Changing current rules set (e.g. by changing the name of the rule list) should fail both the WebKit and Last Compiled caches and result in recompilation.

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

@bwaresiak bwaresiak requested a review from jaceklyp July 7, 2023 10:10
Copy link
Contributor

@jaceklyp jaceklyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@bwaresiak bwaresiak merged commit ed8cc2f into main Jul 18, 2023
@bwaresiak bwaresiak deleted the bartek/optimize-startup branch July 18, 2023 12:39
bwaresiak added a commit to duckduckgo/macos-browser that referenced this pull request Jul 18, 2023
bwaresiak added a commit to duckduckgo/iOS that referenced this pull request Jul 18, 2023
samsymons added a commit that referenced this pull request Jul 20, 2023
* main:
  Fix publisher, add option to override internal user state in debug  (#422)
  Removes unused code and makes some other code platform specific (#419)
  Optimize first load of Content Rule Lists (#406)
  Automatically add the PR link to the Asana task (#311)
  NetP: Move bundle prefix to x-platform code (#418)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants