• Resolved eltucu

    (@eltucu)


    Hi. I like the plugin, but I want to put it to also use cache for users in my registered woocommerce store, it wouldn’t give problems, right?
    Is there any way that the secondary navigation is out of the cache? is that according to whether you are registered or not, a different menu comes out.
    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cache registered users.’ is closed to new replies.