-
Notifications
You must be signed in to change notification settings - Fork 869
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
Classify web pages under cache-control for Brave Ads #5157
Conversation
@kylehickinson Raised brave/brave-ios#2444 for iOS |
@@ -94,8 +94,7 @@ NS_SWIFT_NAME(BraveRewards) | |||
/// Report that a page has loaded in the current browser tab, and the HTML is available for analysis | |||
/// | |||
/// @note Send nil for `adsInnerText` if the load happened due to tabs restoring | |||
/// after app launch or if response header for the page load contains | |||
/// "cache-control: no-store" | |||
/// after app launch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kylehickinson I raised an issue for brave-ios so remove the cache control business logic from the iOS app (comment above updated to reflect the needed change)
@tmancey do you have any specific examples of websites that are using |
@kjozwiak microsoft.com did not work before the change, thanks |
Awesome, thanks @tmancey 👍 Reproduced the original issue on
Ensured that
Verification PASSED on
Ensured that visiting
|
Resolves brave/brave-browser#9021
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Confirm pages with
cache-control
are classified (that have enough content)Reviewer Checklist:
After-merge Checklist:
changes has landed on.