Support

Home Forums Event Espresso Premium Caching issue on Cloudways

Caching issue on Cloudways

Posted: January 26, 2020 at 11:50 am

Viewing 3 reply threads


westonemanor

January 26, 2020 at 11:50 am

I have excluded the required pages (eg, /registration-checkout/ ) as per https://support.cloudways.com/how-to-exclude-url-from-varnish/ but I am still getting an error where the site keeps thinking my cart is empty.

As a test, I completely disabled varnish then it started working again (recognising items in my basket). I’ve contacted cloudways support and they said that “you will need to check the cookies serving on this application on that page which need to be excluded on that page in order to resolve the issue. You can check the link below which you can share with your developer in order to rectify all the cookies in order to exclude it one by one. ”

https://prnt.sc/qt35e7

Can you please advise?


westonemanor

January 26, 2020 at 11:52 am

I have excluded the required pages (eg, /registration-checkout/ ) as per https://support.cloudways.com/how-to-exclude-url-from-varnish/ but I am still getting an error where the site keeps thinking my cart is empty.

As a test, I completely disabled varnish then it started working again (recognising items in my basket).

I have contacted cloudways and they have said “I have checked all settings on it and also test the application by disabling the breeze plugin as well. But the same issue is occurring on it. For this case you will need to check the cookies serving on this application on that page which need to be excluded on that page in order to resolve the issue.

https://prnt.sc/qt35e7

You can check the above link which you can share with your developer in order to rectify all the cookies in order to exclude it one by one. ”

Can you please advise?


westonemanor

January 27, 2020 at 10:06 am

I am currently experiencing a caching issue where the site keeps thinking my cart is empty even though I have excluded the required pages (eg, /registration-checkout/ ) as per https://support.cloudways.com/how-to-exclude-url-from-varnish/. However, disabling varnish completely resolves the issue.

Cloudways support have said “I have checked all settings on it and also test the application by disabling the breeze plugin as well. But the same issue is occurring on it. For this case you will need to check the cookies serving on this application on that page which need to be excluded on that page in order to resolve the issue.

https://prnt.sc/qt35e7

You can check the above link which you can share with your developer in order to rectify all the cookies in order to exclude it one by one. ”

Can you please advise?
Thanks


westonemanor

January 27, 2020 at 10:08 am

I am currently experiencing a caching issue where the site keeps thinking my cart is empty even though I have excluded the required pages (eg, /registration-checkout/ ) as per https://support.cloudways.com/how-to-exclude-url-from-varnish/. However, disabling varnish completely resolves the issue.

Cloudways support have said “I have checked all settings on it and also test the application by disabling the breeze plugin as well. But the same issue is occurring on it. For this case you will need to check the cookies serving on this application on that page which need to be excluded on that page in order to resolve the issue.

https://prnt.sc/qt35e7

You can check the above link which you can share with your developer in order to rectify all the cookies in order to exclude it one by one. ”

Can you please advise?


Josh

  • Support Staff

January 28, 2020 at 7:17 am

Hi,

I’m afraid I do not understand what they wrote. Can you find out what they mean by “rectify all the cookies in order to exclude it one by one.”?

How does one rectify all cookies, and what do they want to be excluded? In other words, what is “it”?

Their screenshot doesn’t appear to include any cookies that Event Espresso sets or uses, so maybe they can clarify a bit.


westonemanor

January 31, 2020 at 6:44 am

Hi,

On Cloudways (recently moved hosts), varnish cache is turned on by default (at the server level) and this is an issue with EE. Turning off varnish solves the issue so we know the problem is with Varnish.

I have excluded the required the core urls but this doesn’t do anything. Cloudways support is then asking what are the cookies used by EE so that they can also exclude them in varnish?


Josh

  • Support Staff

January 31, 2020 at 7:22 am

The cookie used by Event Espresso is PHPSESSID.

Viewing 3 reply threads

The support post ‘Caching issue on Cloudways’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso