My homepage is pretty much the same for all users, which makes it a candidate for page caching. however, there are a few things that are user specific. For example, there is a nav element that is displayed only for registered users, and there is a link, for example, logout, my profile, etc. Created for specific users.
Should I use fragment caching instead? or should I use page caching and embed fragment caching for these specific elements? or what other methods can be achieved.
In addition, a navigation bar is created in the plugin (simple-nav), how can I control what is created inside the plugin regarding caching?
thank
source
share