Skip to content

Allow excluding URL patterns from prerendering or prefetching specifically#1025

Merged
mukeshpanchal27 merged 4 commits into
trunkfrom
enhance/907-mode-parameter
Mar 5, 2024
Merged

Allow excluding URL patterns from prerendering or prefetching specifically#1025
mukeshpanchal27 merged 4 commits into
trunkfrom
enhance/907-mode-parameter

Conversation

@felixarntz
Copy link
Copy Markdown
Member

Summary

Fixes #907

Relevant technical choices

  • Add new $mode parameter as defined in the issue.
  • Add documentation to readme FAQ.
  • Add test coverage.
  • Bump Speculation Rules plugin version to 1.1.0 to eventually release the enhancement.

Checklist

  • PR has either [Focus] or Infrastructure label.
  • PR has a [Type] label.
  • PR has a milestone or the no milestone label.
@felixarntz felixarntz added [Type] Enhancement A suggestion for improvement of an existing feature [Focus] JS & CSS no milestone PRs that do not have a defined milestone for release [Plugin] Speculative Loading Issues for the Speculative Loading plugin (formerly Speculation Rules) labels Mar 4, 2024
Copy link
Copy Markdown
Member

@westonruter westonruter left a comment

Choose a reason for hiding this comment

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

LGTM, just a couple nit suggestions.

Comment thread plugins/speculation-rules/readme.txt Outdated
Comment thread tests/plugins/speculation-rules/speculation-rules-helper-test.php
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @domenic.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: domenic.

Co-authored-by: felixarntz <flixos90@git.wordpress.org>
Co-authored-by: westonruter <westonruter@git.wordpress.org>
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@mukeshpanchal27 mukeshpanchal27 merged commit 9106478 into trunk Mar 5, 2024
@mukeshpanchal27 mukeshpanchal27 deleted the enhance/907-mode-parameter branch March 5, 2024 04:22
@felixarntz felixarntz added this to the speculation-rules 1.1.0 milestone Mar 21, 2024
@felixarntz felixarntz removed the no milestone PRs that do not have a defined milestone for release label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Plugin] Speculative Loading Issues for the Speculative Loading plugin (formerly Speculation Rules) [Type] Enhancement A suggestion for improvement of an existing feature

3 participants