Title: Infinite Loop/Refresh
Last modified: March 6, 2021

---

# Infinite Loop/Refresh

 *  Resolved [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * (@joaopegb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/)
 * I just activated the plugin and got this infinite refresh loop on my website…
 * > [https://drive.google.com/file/d/1VDWdjhjQAwcqulw0jGkD8ri4dftXKbkY/view?usp=sharing](https://drive.google.com/file/d/1VDWdjhjQAwcqulw0jGkD8ri4dftXKbkY/view?usp=sharing)
 * I’m using WooCommerce with geolocation with page caching support, is that related?
 * Unfortunately I cannot enable GeoLocation support for my LiteSpeed Web Server
   since it is a shared server.
 * Any suggestions?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/infinite-loop-refresh/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/infinite-loop-refresh/page/2/?output_format=md)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14141863)
 * Hi,
 * but did it work if you disable Woo’s Geo ?
 * and also please provide the report number
 * you can get it in toolbox -> report -> click “send to LiteSpeed”
 * Best regards,
 *  Thread Starter [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * (@joaopegb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143065)
 * Actually now the problem seems to have stopped, not sure why.
 * Another question, since I have a woocommerce store is there any cookie that I
   need to exclude in the plugin settings to make sure my customers don’t see any
   cached products in the cart/checkout? Or the plugin already takes care of that
   automatically?
 * I only have guest checkout, no logged-in users or accounts.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143094)
 * Hi,
 * plugin itself should purge the cache when product is edited, price is changed
   or stock is changed
 * Best regards,
 *  Thread Starter [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * (@joaopegb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143108)
 * I see. What about this scenario:
 * Customer A comes to my store and adds a product to the cart and then leaves.
 * After that, Customer B comes to my store and sees Customer A product added in
   the cart.
 * How do we avoid this from happening?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143130)
 * Hi,
 * for whatever reason , you forced cache on cart/checkout , which by default these
   pages are not supposed to be cached.
 * check your cache setting , and you can try reset to default setting first
 * you can verify cache status by HTTP response header
 * Do you enable the cache now ? because I can’t find any trace of plugin , but 
   I still see cache hit header
 * Best regards,
 *  Thread Starter [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * (@joaopegb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143366)
 * The plugin was deactivated indeed. And I didn’t customize any settings, it’s 
   all default.
 * Now I turned it back on, do you mind checking again?
 * This is the [link](https://drive.google.com/file/d/1RaSKQ7ydohFhx_-3kF2HqNCUeTgJBQhm/view?usp=sharing)
   btw.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143417)
 * No, I meant there is some thing else beside plugin is telling the server to cache
   the page
 * Is it vps? Do you have root access?
 *  Thread Starter [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * (@joaopegb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143427)
 * No, its not a VPS.
 * Maybe Cloudflare, is that possible?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143490)
 * Now I don’t see cache on cart/checkout page
 *  Thread Starter [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * (@joaopegb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143937)
 * I was thinking it could also come from [this](https://www.a2hosting.com/kb/a2-hosting-products/turbo-web-hosting/enabling-caching-on-turbo-web-hosting),
   I have this caching enabled.
 * So how can I keep the LS Cache plugin activated while making sure my cart/checkout
   pages are not cached?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143947)
 * oh yes, remove it
 * use plugin to control it , don’t use rewrite rule to control it
 * plugin will automatically add all the rules it needs
 *  Thread Starter [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * (@joaopegb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143985)
 * I was using WP Rocket before so I needed to have those rules there.
 * Two last questions:
 * 1. Is your plugin compatible with WP Rocket or just makes it unnecessary?
 * 2. Does LiteSpeed Cache plugin cache the cart/checkout pages in woocommerce?
   
   If yes, how can I avoid that?
 * Thanks a lot
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14143991)
 * Hi,
 * 1) it’s not recommended to use multiple cache plugin , it could creates all kind
   of weird issues (like your cart/checkout page issue)
 * 2) no , by default , with plugin-controlled caching , it doesn’t , but if you
   use that rule you posted before, it will cache it
 * Best regards,
 *  Thread Starter [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * (@joaopegb)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14181013)
 * I’m having another problem with Express checkout buttons (PayPal, Google Pay 
   or Apple Pay) on my product pages with your plugin active.
 * For Google Pay (Chrome) or Apple Pay (Safari), the buttons are stuck in infinite
   loading.
 * For PayPal Express Checkout it opens the modal window that redirects to paypal
   and closes it immediately.
 * Any suggestions?
    -  This reply was modified 5 years, 2 months ago by [joaopegb](https://wordpress.org/support/users/joaopegb/).
 *  Thread Starter [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * (@joaopegb)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/#post-14181065)
 * Report number: SKIVAPMF

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/infinite-loop-refresh/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/infinite-loop-refresh/page/2/?output_format=md)

The topic ‘Infinite Loop/Refresh’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [infinite loop](https://wordpress.org/support/topic-tag/infinite-loop/)

 * 16 replies
 * 2 participants
 * Last reply from: [joaopegb](https://wordpress.org/support/users/joaopegb/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/infinite-loop-refresh/page/2/#post-14181077)
 * Status: resolved