Problem with Components and Caching (WP-Rocket)

Hej,

I have problems with my caching plugin WP Rocket.
I am using components, for example on this site: honey-studio.de/portfolio/webdesign-mainz

If I save the component, the page layout is wrong.
The support of WP Rocket looked into it and gave me the following answer:

I was able to log cache clearing when saving or updating post/page, but I wasn’t able to log anything when saving/updating the Component type of content in Cornerstone. It seems that this type of content is built differently than standard WordPress post/page, so WP Rocket can’t detect when this content is saved/updated.

WP Rocket has rocket_clean_post() function, which can be used to trigger post/page clearing. You will have to reach out to Cornerstone page builder developers to help you implement this for Component type of content, using hooks or some other way.

Can you tell me, how to implement the hook for Theme Pro?
I think it will help other costumers as well.
Best regards
Carlo

Hey @carlomue,

Thanks for reaching out!

We are uncertain about the page layout is wrong. Would you mind sharing more information? Providing screenshots or videos is a great help.

Also, have you tried clearing the Pro system cache by going to Cornerstone > Settings and then hitting the clear style cache button.

Hope that helps.

1 Like

Hej @marc_a,

thank you for answering.
I have cleared the system cache now.
I will collect some screenshots or videos and come back to you.

Best regards
Carlo

Hi Carlo,

Will wait for your feedback.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.