-
Notifications
You must be signed in to change notification settings - Fork 109
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
Add Site Health test for full page caching (advanced cache) #220
Comments
Hello, @westonruter I would love to take a look, you can assign it to me! |
Just added this to the Site Health project and it's currently in the backlog. I've added the 'Needs Dev' label and assigned to @manuelRod |
@westonruter you can take a look at my draft: PR As I was checking AMP code, I figured out a couple of things:
|
@manuelRod I think you may have been seeing ampproject/amp-wp#6937 which is addressed by ampproject/amp-wp#6938. The |
@westonruter indeed, that was it. I've implemented your approach and fixed the tests, it's ready to be reviewed. |
@eclarke1 can you add the Needs Review tag on this? Thanks! |
@manuelRod absolutely 👍 done and also moved to the 'In Review' column. Thanks so much |
@westonruter Thanks for the feedback, I've addressed it. We need another reviewer, maybe @felixarntz wants to take an eye? |
@tommydv It sounds like your issue is not related to the Performance Lab plugin, which is what this repo and issue are for. Can you please post to the AMP plugin support forum for assistance? Thanks! |
|
@manuelRod @westonruter I've added a |
Feature Description
I previously reported this in trac (#54423), but I'm copying it here for visibility:
Since the above was written and, after releasing the page caching site health test in the AMP plugin v2.2, it came to light that the detection was not robust enough. A major improvement followed (ampproject/amp-wp#6849) which accounts for many more scenarios (ampproject/amp-wp#6849 (comment)). These were uncovered with help from @piotrbak in a WP Rocket issue (wp-media/wp-rocket#4638 (comment)).
The page caching code in question: https://github.com/ampproject/amp-wp/blob/f7c7230a27fb23932606f9847bfcf04c83b8ff06/src/Admin/SiteHealth.php#L333-L661
Scenarios
Via ampproject/amp-wp#6849 (comment):
The text was updated successfully, but these errors were encountered: