cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.2.4 - Believed Caching Issue Affecting Customers

Magento 2.2.4 - Believed Caching Issue Affecting Customers

Hey guys,

 

We are experiencing an issue where our website for whatever reason will run into cache issues, to where the customers will get into situations like trying to goto Checkout, but instead of going to the checkout page, it just redirects to the home page.

 

To solve this, they need to go into their cache and cookies, delete all of those, and then reload the page. To where they will have to re-login and then it will work and proceed to the checkout page.

 

Any idea what could cause this kind of issue??

 

Our Magento 2 settings are:

** URL Options: **
Add Store Code to URLs: No
Auto-Redirect to Base URL: Yes (302 Found)

** SEO **
Use Web Server Rewrites: Yes

** Base URLs **
Base URL: https://example.com/marketplace/
Base Link URL: https://example.com/marketplace/

** Base URLs (secure) **
Secure Base URL: https://example.com/marketplace/
Secure Base Link URL: https://example.com/marketplace/
Use Secure URLs on Storefront: Yes
Use Secure URLs in Admin: Yes
Enable HTTP Strict Transport Security (HSTS): No
Upgrade Insecure Requests: No
Offloader header: SSL_OFFLOADED

** Default Cookie Settings **
Cookie Lifetime: 36000
Cookie Path:
Cookie Domain:
Use HTTP Only: Yes
Cookie Restriction Mode: No

 

We use cloudflare for our CDN, the cache settings being:

Caching Level: No Query String
Browser Cache Expiration: 1 Day
Always Online: On

 

As our store is in a subdirectory, we also use this in our main .htaccess to direct to /marketplace/ as our main domain:

RewriteCond %{REQUEST_URI} !/(downloads|emails|marketplace)/ [NC]
RewriteRule ^(.*)$ /marketplace/$1 [R=301,L]

 

example.com/marketplace/ being the index and home of the website in this instance.

 

Does any of this look amiss, to where it could cause these cache issues?

 

Thanks!!

2 REPLIES 2

Re: Magento 2.2.4 - Believed Caching Issue Affecting Customers

Hello @WinteRx182 

 

You'll need to do caching from the admin panel after any implementing changes.

 

Also, if you are using Cloudflare, you need to purge it too.

 

Hope it helps.

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"

Re: Magento 2.2.4 - Believed Caching Issue Affecting Customers

Hey @Meetanshi 

 

I consistently clear the cache within the admin side many times a day, however I am not clearing the Cloudflare nearly as much. Could that cause conflict?

 

Also, sometimes our server gets overloaded and essentially resets, which I could image could cause some cache loops. Could that also be a possibility?

 

Thanks