-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct Configurations for Woocommerce when using Redis Cache #621
Comments
@NikhilGoyal Above seem to be based on my config posted here - https://gist.github.com/rahul286/dc64ae84c97868b862c4 I never got time to test config correctly. Correct config will:
An easy way to test above is to shutdown php/mysql after cache warmup and see if product page is served from cache. Can you please confirm if above is working fine? |
Ok, as soon as I stop Plus I wanted to know more about this part, as I am using
Should I even have this part because after adding this.. the website has become quite slow. I am not even sure if the pages are being cached or not. |
I'm doing something very similar, but in my woo.conf file this is all I have, and it seems to work fine:
|
@BigWilliam The only problem with that setup is any dynamic part of the site (e.g. cart widget showing items in cart) will show a cached version. @rahul286 makes a good point earlier that once they have an item in their cart any pages looked at shouldn't be cached. |
This seems to work best for us regarding a mini-cart which is served on every page: #Best practice so far #Shouldn’t be needed (Above is faster) |
Hey there. I've been following a few EE tutorials about optimizing woocommerce. I've came across two different code blocks regarding the setup. I was wondering what's the difference between the two code blocks mentioned below, and more important yet, which one should I use? At the moment of writing, my website uses WooCommerce v. 2.6.4. I created my website with EE version 3.7 by firing up I'm not sure though the caching is working properly because I get a 404 GET response from Yith Wishlist plugin (I think). For details please see the support topic I created on rtCommunity forum. Those are the different code blocks I mentioned, both described on EasyEngine tutorials section WooCommerce Window Shopping Caching Technique
WooCommerce Window Shopping Caching Technique
I've tried both code blocks, and although cache seems to be working, I'm still getting the 404 GET response error. I'd really appreciate if anyone could guide me on making woocommerce with fastcagi cache a truly optimized experience for the shop users. Thanks in advance. |
We are cleaning up issue tracker and closing this issue because we won't be able to contribute to this discussion further. Please use http://community.rtcamp.com/c/easyengine for future support questions. |
I am using EasyEngine single site with Woocommerce. So, we will have to use some additional config. I created a additional file called
woo.conf
and placed it in/var/www/mysite.com/config/nginx
as this directory is automatically included. The settings areI'm not sure about the
location
block. Though this seems to work fine, but essentially what should be the correct config settings here.The text was updated successfully, but these errors were encountered: