Recently we have been reviewing caching on our site. For a while now we have been using WP Super Cache and for the most part, it has performed flawlessly why would it not, it was created by the team behind WordPress. If they don’t know how to make WordPress websites load fast then we are all in trouble. However, we have also experimented with various other plugins other the years including WP rocket, Total Cache, and Redis Object Cache, to name a few. Today we decided to publish a list of WordPress URLs that you should avoid caching unless you have a good reason to.
WooCommerce
- ^/my-account/?
- ^/product-category/?
- ^/wc-api/?
- ^/resetpassword/?
- ^/shop/?
- ^/cart/?
- ^/checkout/?
- ^/product/?
URLs:
/wp-*
(This would prevent wp-includes/admins/etc)/xmlrpc.php
- Any URL with with
?preview=true
so that editors can preview - A typical Nginx reverse proxy cache is set to ignore
wp\-.*\.php|wp\-admin
- (.*)/feed/?
- /checkout/(.*)
- /cart/
- /my-account/(.*)
- /wc-api/v(.*)
- /wp-json/(.*)
Cookies:
- wordpress_logged_in_
- wp-postpass_
- wptouch_switch_toggle
- comment_author_
- comment_author_email_
Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great success. Think of us as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and web hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!