When a cache for logged in users enabled how the cache works? Does it cache site per user all it does whole page cache?
On my site, I have a button on each article that allows adding posts to a favorite list (for logged in users). When clicked the process happens through an AJAX request.
When loading the page, if a user has already added an article to his/her favorites, the button will light up.
When Page Cache for logged in users will be active, if a page is being cached by user 1 who has favorites an article, will user 2 (a different device and account) see a highlighted button as well when opening the page because of caching?