-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[Area: Frontend] Unrelated cache tags added to X-Magento-Tags header on CMS pages #37823
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
Comments
Hi @ananth-iyer. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Dash. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Dash, here is your Magento Instance: https://cbfe4aa081b6004cb6bc5340ceeb5349.instances-prod.magento-community.engineering |
@engcom-Dash X-Magento-Tags and X-Magento-Cache-Debug headers still not showing even in developer mode. I assume the web server is removing the headers. |
Hello, I got the same issue on Magento 2.4.6-p1. When I update any product from admin panel or through rest API the whole Magento cache is being refresh. For testing, Simply create a custom CMS page and update any product like stock or sku then check that created CMS page will be added to X-Magento-Cache-Debug: MISS. Even I don't touch that cms page or not added that page link to anywhere in Magento. |
Hi @ananth-iyer Verified the issue in 2.4-develop instance and the issue is reproducible, Hence we are confirming the issue. ![]() ![]() When we visiting CMS page that it contains cat_c and cat_p in X-Magento-Tags header as per the actual result. Thanks. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-9258 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Dash. Thank you for verifying the issue. |
@engcom-Dash Thank you for taking time and confirming the issue. When can we expect the issue to get resolved? Kindly let us know if there is any quick workaround patch. |
Hi @ananth-iyer, Thanks for your reporting and collaboration. We have tried to reproduce the issue in Latest 2.4-develop instance and the issue is still reproducible.Kindly refer the screenshots. ![]() When visiting any CMS page that it contains cat_c and cat_p in X-Magento-Tags header when CMS page does not have category and products. Hence Confirming the issue. Thanks. |
❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-9258 |
Hi @engcom-Bravo After so many months the issue is reproducible in latest version. Let's hope the issue will get fixed sooner. |
Preconditions and environment
Steps to reproduce
cat_c,cat_c_38,cat_c_20,cat_c_11,cat_c_3,cat_c_9,cat_c_37,store,cms_b,cms_b_1,cms_b_footer_links_block,cms_b_14,cms_b_home-page-block,cms_p_2,cat_p,FPC
Expected result
As per my understanding, there should be no cat_c and cat_p in X-Magento-Tags header when there are no products & categories on that page.
When visiting any CMS page that it should not contain cat_c and cat_p when it is does not have category and products. It should add page id, static block id related tags only.
It affacts the website overall performance and Google ranking.
Actual result
When visiting any CMS page that it contains cat_c and cat_p in X-Magento-Tags header when CMS page does not have category and products.
Additional information
Additionally, it also causes full FPC cleanup when the product or category is saved and its ID is added in the X-Magento-Tags header and present in CMS pages.
I assume the navigation menu is conflicting with the cache tags.
For reference:
cat_c_{category_id} - cat_c_1
cat_p_{product_id} - cat_p_1
cms_b_{static_block_id} - cms_b_1
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: