Hi,
Currently, you can serve cache to logged in users, but it’s the same content that everyone sees.
If you want to cache custom content for your users, this is not a feature yet.
> Is there any way that the secondary navigation is out of the cache?
Which secondary navigation? is it something in your theme, or is this on the “My Account” page?
The “My Account” page isn’t cached anyways, as well as the cart and checkout pages.
Marc.
Thread Starter
eltucu
(@eltucu)
Hello, thanks for answering.
I mean to leave out the menu (navigation), in wordpress it depends on the subject has the “primary-navigation” which is the main one, by default and another one that is “secondary-navigation”.
Could you leave out the cache what is the menu (“navigation”)?
Thread Starter
eltucu
(@eltucu)
Can the menu be left out of the cache?
Thx
Hi,
No, parts of the site can’t be left out of the cache.
The way most page cache works is to save the pages and posts to the disk, and send them to the visitor before WordPress code run.
This allows for much faster performance as it requires only a small amount of computing in comparison to generating the page via WordPress.
So keeping a part of the page out of the cache would mean that we would still have to load WordPress to process that page, defeating the purpose of the cache.
Marc.