Host says Xstore is conflicting with varnish

This topic has 24 replies, 2 voices, and was last updated 5 years, 10 months ago ago by Olga Barlow

  • Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 23, 2018 at 17:56

    Hello,

    We have made some changes and commented out the add_action( 'init', 'etheme_set_customer_session', 10 ); for the etheme_set_customer_session function https://prnt.sc/jlowc9
    Changes were made in parent theme (xstore/framework/woo.php) because it does not work from the child theme, so be careful before the parent theme update and do this changes again once you update theme in future.

    Regards

    Avatar: VitalVibeSource
    VitalVibeSource
    Participant
    May 23, 2018 at 18:42

    Ok, but when I checked the varnish debugging, I got the same error still:
    A caching service is running but is unable to cache your site.
    Your server IP setup looks good.
    Your server is running Apache.
    The “Age” header is set to less than 1 second which means the page was generated without caching.

    Were you able to get the theme to work with varnish after these changes?

    Avatar: VitalVibeSource
    VitalVibeSource
    Participant
    May 23, 2018 at 19:08

    Also, I’m not sure if this is related to changes that were made, but my main menu has disappeared and every time I choose the correct one, nothing changes. It still says I need to select a menu?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 24, 2018 at 10:28

    Hello,

    1) If you want to use varnish that line should be commented out.
    We have also installed cache plugin to speed up your site. I have checked and don’t see problem with varnish cache https://gyazo.com/a7c63809c7d6883b670a77d6c64ade24
    2) That line of code can’t affect the menu. I don’t see problem with the menu https://gyazo.com/ff0d522d4da8c3c54bc405e47bf1907b

    Regards

  • 1 2
    Viewing 24 results - 21 through 24 (of 24 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.