Skip to content

feat(perfmatters): add back ads JS to script delay list#2354

Merged
adekbadek merged 2 commits intoreleasefrom
hotfix/perfmatters-config-ads
Mar 20, 2023
Merged

feat(perfmatters): add back ads JS to script delay list#2354
adekbadek merged 2 commits intoreleasefrom
hotfix/perfmatters-config-ads

Conversation

@adekbadek
Copy link
Member

All Submissions:

Changes proposed in this Pull Request:

Ads-related JS was initially set to be delayed by Perfmatters, but this was changed in #2312 after finding out that it breaks ads on one live site. This was too heavy-handed though, and most sites would benefit from this performance enhancements without the ads broken. This particular site has a very complex ad stack, and Perfmatters settings should be adjusted individually in such cases.

How to test the changes in this Pull Request:

  1. Load a page with some GAM ads, observe the ad-related JS will be delayed, but the ads will be displayed once the JS loads

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@adekbadek adekbadek added the [Status] Needs Review The issue or pull request needs to be reviewed label Mar 17, 2023
@adekbadek adekbadek requested a review from a team as a code owner March 17, 2023 10:03
@github-actions github-actions bot added [Status] Approved The pull request has been reviewed and is ready to merge and removed [Status] Needs Review The issue or pull request needs to be reviewed labels Mar 17, 2023
@adekbadek adekbadek merged commit e8d1703 into release Mar 20, 2023
@adekbadek adekbadek deleted the hotfix/perfmatters-config-ads branch March 20, 2023 10:07
matticbot pushed a commit that referenced this pull request Mar 20, 2023
# [1.108.0](v1.107.1...v1.108.0) (2023-03-20)

### Features

* **perfmatters:** add ads, recaptcha JS to script delay list ([#2354](#2354)) ([e8d1703](e8d1703))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 1.108.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released [Status] Approved The pull request has been reviewed and is ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants