Thanks for all those tips!!!
can we use both jotcache and the other plugin related to Nginx ?
By the way, did you get some alerts from your users get connected with another users account ? i got this and thought my website is being hacked, it was due to sessions cache.
I've been using Jotcache for K2 for a long time. A great component.
During experiments with Easysocial, I found a problem with the token.
Alert:
"The page has been reloaded due to invalid token. Please try again."
It is possible that users are encountering this message. Since the same token is cached for all users. Does this pose a risk to the system... hmm... I'm not sure. Is the token so important for an unregistered user? But it seems that there were cases when the data entered in the login form was cached along with the login page, because the entire page is cached completely.
Here's the problem with Jotcache and Easysocial compatibility:
1. There are album pages, with lots of photos. This is something that can definitely be cached.
2. In Jotcache, I enable settings only for Albums.
3. User-1 comes in, the page is cached, user1 presses the "Load more photos" button. Everything works, everything is fine.
4. User-2 comes in, receives a message "The page has been reloaded due to invalid token. Please try again."
and the "Load more photos" button doesn't work anymore.
I tried to disable the token for non-logged-in users, but without the token, the "Load more photos" button does not work at all. Although why need a token for an unregistered user is a big question. And why need a token for the Loadmore button...
In general, caching helps a lot, especially on large album-type pages. For a dashboard, it probably isn't necessary, and the information is updated more often and works faster.
The video pages seem to work well with Jotcache, that is, where there is no need to interact with the system using a token, a Loadmore button, or uploading a stream to the dashboard for non-logged-in users, everything works. The login and registration pages must be excluded from caching in the settings.