• Resolved jayeshmahajan23

    (@jayeshmahajan23)


    I want to enable caching for cart/myaccount/checkout page,
    to avoid showing cached dynamic data we can show products using ajax method.
    Is there any plugin available to do same? or any other way to achieve it?
    OR
    if We enabled cache and server get down, is woo commerce show any message instead of showing 5xx error

    Also i want know how woo commerce handle CDN?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there @jayeshmahajan23!

    I want to enable caching for cart/myaccount/checkout page,
    to avoid showing cached dynamic data we can show products using ajax method.

    Caching should be disabled on those three pages since they need to stay dynamic since they display information specific to the current customer. We explain it over here, so make sure to follow those suggestions to exclude the above three pages from caching.

    if We enabled cache and server get down, is woo commerce show any message instead of showing 5xx error

    5xx errors come from the server, so WooCommerce would have no way to override those. I suggest that you research the topic of customizing the error message pages in WordPress elsewhere to find out more info.

    i want know how woo commerce handle CDN?

    WooCommerce works with CDN since long ago as you can read here. For example, Jetpack’s CDN is natively supported.

    I hope that’s helpful and points you in the right direction. Let us know if you have more questions.

    Cheers!

    Thread Starter jayeshmahajan23

    (@jayeshmahajan23)

    Thank you so much @zdenys

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Enable cache for myaccount/cart/checkout’ is closed to new replies.