You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before submitting an issue please check that you’ve completed the following steps:
Made sure you’re on the latest version ✅
Used the search feature to ensure that the bug hasn’t been reported before ✅
Describe the bug
When the official AMP plugin is used, publishing a new post won't clear the cache of the AMP homepage, the way we do for the non-AMP homepage: https://example.com/?amp=1
This is because rocket_clean_home() doesn't have the necessary logic built-in:
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
When the official AMP plugin is used, publishing a new post won't clear the cache of the AMP homepage, the way we do for the non-AMP homepage:
https://example.com/?amp=1
This is because
rocket_clean_home()
doesn't have the necessary logic built-in:wp-rocket/inc/functions/files.php
Lines 576 to 659 in 0275715
To Reproduce
Steps to reproduce the behavior:
/#amp=1
folder will not have been cleared.Expected behavior
To be consistent with our cache clearing, the AMP homepage should be cleared.
Additional context
We could use the
after_rocket_clean_home
hook in our AMP compatibility file to clear the homepage's cache.Related ticket: https://secure.helpscout.net/conversation/1474551288/253298?folderId=2135277
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: