Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #169376
    Dimitar Filipov
    Guest

    Hi there,

    I am building a site with a woocommerce login system. Using dynamic visibility, I created 2 types of menus – for logged in users and for logged out users.

    My problem is that when I switch the states from log out to log in, and when I change the current page, the menu stays on a log out status. To correct it, I need to refresh the page.

    I am not a tech guy but here it is quite obvious that it comes to a caching problem. When I switch the entire plugin off, that problem disappears, but my site performance goes down. I tried to change some of the settings, but it didn’t work.

    Can someone please tell how to solve that?

    Thank you so much!

    #169398

    Hello Dimitar,

    Thank you for reaching out, and I am happy to help!

    Can you please share if the option “Don’t cache pages for logged in users” is enabled in the W3 Total Cache Page Cache Advanced settings?

    Thanks!

    #169452
    Dimitar Filipov
    Guest

    Zdravo Marko,

    Thank you for getting back to me so fast.

    Yep, this was enabled. In fact, I switched off the entire “Page caching” tab (wich I assume stops the caching of all that “pages” part) and the problem still persisted.

    Funny thing, then I switched off the entire “Browser cache” tab… and everything went fine. Of course, the response time results went bad, but my header started working fine.

    Honestly, I am really confused. Can you think of something else?

    Best;

    Dimitar

    #169718

    Zdravo Dimitar,

    Thank you for your feedback and for providing the information!
    This seems to be related to the cache-control for the Browser Caching.
    Can you please re-enable the Browser Cache in Performance>General settings, and go to Performance>Browser Cache, and disable the Set expires header in the HTML&XML section, save all settings and purge the cache and let me know if the issue persists.
    If the issue is still there, please diable the settings in the Browser Cache section one by one, save all settings and purge the cache after each setting is disabled and let me know which specific setting is causing the problem
    Thanks!

    #169781
    Dimitar Filipov
    Guest

    Hi Marko,

    Thanks for getting back to me.

    Switching off “Set expires header” in “HTML and XML” tab helped… to an extent. It fixed the problem on the “Home” page. Fot the other pages it percisted.

    I took a picture on all of the settings and I switched off all that were on in “HTML and XML” tab. Then I started switching them on one by one and testing.

    Problem get solved when I swithed off all of the following setting (in “HTML and XML” tab):

    “Set expires header”
    “Set cache control header”
    and
    “Set entity tag (eTag)”

    Now the system is still slow (it says the delay must be 600 msecs, and it is 900 msecs) and it is still looking for some cache headers, but at least, the site is operational.

    I may get in touch with the guys from Astra theme. I really love that theme, but I think it is bit heavy. And as my site is a heavy one too (I got more than 40 plugins operational here), it is very much possible that problem to arise by some plugin conflict.

    Afterall, I could always change the header technology – I’ve got 3 other ways of making headers on that site, but Astra’s header is really simple to use and I’d like to keep it.

    Anyway, thanks for the assistance! Really appreciate it!

    Cheers!

    Dimitar

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘W3 Total Cache – I need to switch off the caching of my site menus’ is closed to new replies.