Exclude WooCommerce + Translation #49

Merged
gablau merged 3 commits from master into master 2016-04-22 08:23:16 +01:00
gablau commented 2016-04-21 16:39:46 +01:00 (Migrated from github.com)
  • exclude cache for WooCommerce
  • fix load textdomain
  • add Italian (it_IT) translation
- exclude cache for WooCommerce - fix load textdomain - add Italian (it_IT) translation
Tobias-Conrad commented 2016-04-21 23:08:21 +01:00 (Migrated from github.com)

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.

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.
Tobias-Conrad commented 2016-04-21 23:12:02 +01:00 (Migrated from github.com)

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

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
Tobias-Conrad commented 2016-04-21 23:17:29 +01:00 (Migrated from github.com)

Did your fixes meet the needs of ameet3000 ind this post?
https://wordpress.org/support/topic/woocommerce-order-status-and-wp-ffpc

Did your fixes meet the needs of ameet3000 ind this post? https://wordpress.org/support/topic/woocommerce-order-status-and-wp-ffpc
Tobias-Conrad commented 2016-04-22 10:43:49 +01:00 (Migrated from github.com)

@petermolnar @gablau what about my thoughts above?

@petermolnar @gablau what about my thoughts above?
petermolnar commented 2016-04-22 10:51:16 +01:00 (Migrated from github.com)

@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.

@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.
Tobias-Conrad commented 2016-04-22 10:59:05 +01:00 (Migrated from github.com)

for example: /cart/gix
Can you please give me a set of modifier like gix, i am new to regex.

for example: /cart/gix Can you please give me a set of modifier like gix, i am new to regex.
gablau commented 2016-04-22 17:24:51 +01:00 (Migrated from github.com)

some correction and explanation #50

some correction and explanation [#50](https://github.com/petermolnar/wp-ffpc/pull/50)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: petermolnar/wp-ffpc#49
No description provided.