Exclude WooCommerce + Translation #49
Loading…
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://docs.woothemes.com/document/configuring-caching-plugins/
Excluding pages from the cache ↑ Back to Top
If using caching plugins (such as WP Super Cache or W3 Total Cache), make sure you exclude the following pages from the cache through their respective settings panels:
Cart
My Account
Checkout
These pages need to stay dynamic since they display information specific to the current customer.
Note, WC 1.4.2+ sets the DONOTCACHEPAGE, constant which means you can skip this step
May you use this DONOTCACHEPAGE, constant to identify woocommerce pages?
Why? because in germany the cart is "warenkorb", and "checkout" is "kasse"
https://www.santegra-international.com/warenkorb/ = cart
may try it with the new added italian language.
In germany we have two extra pages called "bestellung_bestaetigen__absenden/"
and i habe bulk order page /schnellbestellung/
howto exclude this pages?
^/wp-|cart|checkout|mein-konto|kasse|warenkorb|bestellung_bestaetigen__absenden|schnellbestellung
W3C remind to exclude the WP and Woo sessions from caching.
this i found on the wp fastest cache support place:
/wp-api/v1, /cart, /checkout, /receipt, /confirmation, /product
Did your fixes meet the needs of ameet3000 ind this post?
https://wordpress.org/support/topic/woocommerce-order-status-and-wp-ffpc
@petermolnar @gablau what about my thoughts above?
@Tobias-Conrad use the exclude URL regex field.
Settings -> WP-FFC -> Cache exceptions -> Don't cache following URL paths - use with caution!
http://regex101.com/ can help you build the regular expression.
This is a contribution and as stated in the support forum link, I'm not willing to support woocommerce myself.
for example: /cart/gix
Can you please give me a set of modifier like gix, i am new to regex.
some correction and explanation #50