EasyEngine / easyengine

Command-line control panel for Nginx Server to manage WordPress sites running on Nginx, PHP, MySQL, and Let's Encrypt
https://easyengine.io
MIT License
2.12k stars 431 forks source link

Caching does not seem to work properly on safari? #1625

Open ssuess opened 3 years ago

ssuess commented 3 years ago

Hi I have searched the docs and discussions and haven't found mention of this. My newly setup cache enabled wordpress site does not properly deal with comment postings on Safari web browsers (mobile or desktop), but DOES deal with them properly on FF and Chrome.

System Information

Server: Docker Engine - Community Engine: Version: 20.10.9 API version: 1.41 (minimum version 1.12) Go version: go1.16.8 Git commit: 79ea9d3 Built: Mon Oct 4 16:06:37 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.11 GitCommit: 5b46e404f6b9f661a205e28d59c982d3634148f8 runc: Version: 1.0.2 GitCommit: v1.0.2-0-g52b36a2 docker-init: Version: 0.19.0 GitCommit: de40ad0

- [x] docker-compose version

docker-compose version 1.25.0, build unknown docker-py version: 4.1.0 CPython version: 3.8.10 OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020

ssuess commented 3 years ago

I just updated to 4.4.0 from 4.3.1, and it seems to have fixed it? I will watch this for a couple of days and come back here to close if there are no issues. Thanks.

ssuess commented 3 years ago

I spoke too soon the problem is still happening. Comment posting and caching is not working properly. Any suggestions?

ssuess commented 3 years ago

Well for now I followed the instructions here to disable redis for this site. Awaiting a response to decide what I should do next, if this is a bug or just a misconfiguration.

ssuess commented 3 years ago

Any advice at all on what to do here? Do post comments in a safari browser (or mobile safari) on a redis cached site work for everyone else?

ssuess commented 3 years ago

Nothing at all? Am I the only one having this problem? Has no one else had any problems with ee redis caching of comments? No one? Any guidance at all here would be very appreciated. Thanks.

dhsathiya commented 3 years ago

Hey @ssuess, we have not faced such an issue as of now.

ssuess commented 3 years ago

ok I will try to rebuild the site from scratch I guess and see if that makes any difference.

ssuess commented 3 years ago

Do you have a recommended redis plugin or plugins that I should be using? Do they matter at all?

dhsathiya commented 3 years ago

It is important that you use rtCamp's Nginx-Helper plugin. Which will be there by default if you use --cache flag.

ssuess commented 3 years ago

And that is the only needed plugin? It seemed to also install a redis plugin, no?

joebailey26 commented 1 year ago

Yes, this plugin is also installed: https://wordpress.org/plugins/wp-redis/