• Resolved leanne0333

    (@leanne0333)


    Ive been running some speed tests recently and have spoken to a site engineer who took a look and identified that the cookies are causing my caching plugin to not work as its loading the script on every page. They said evergreen countdown timer plugin often causes this. Is there a way to make sure it only loads on pages I use the countdowns on? thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor intellywp

    (@intellywp)

    Hello
    Could you please send us the url of your website and the name of this caching plugin?

    Thank you

    Thread Starter leanne0333

    (@leanne0333)

    https://www.passiveincomesuperstars.com and the caching plugin is the one my host siteground offers it is called SG Optimizer.

    I also just did a speed test before and after deactivating evergreen countdown plugin and its definitely the cause – deactivating it shaved 1 second off my time to 1st byte and CLP.

    This is what they said in my site speed audit about why it was happening:

    When testing https://www.passiveincomesuperstars.com/ , we are
    seeing TTFBs of between 1.1 and 2.1 seconds. This would appear to be
    because a cookie is being set in the header of the response that comes
    back from the server when the page is loaded that causes the page to
    bypass the cache meaning that any page on that site would have to be
    loaded fresh from the server each time, rather than from the cache
    Plugin Contributor intellywp

    (@intellywp)

    Hello

    Could you please send us the url where the countdown is visible?

    Thank you

    Thread Starter leanne0333

    (@leanne0333)

    https://www.passiveincomesuperstars.com/click-and-convert-oto/

    But as stated, its effecting the caching plugin in general so its not just these pages effected – every page on my website is effected as its adding the cookie to the header site-wide

    Plugin Contributor intellywp

    (@intellywp)

    Hello,

    Have you tried to set IP as detection mode?

    Unfortunately the plugin needs to load the cookie on the whole website

    Thread Starter leanne0333

    (@leanne0333)

    Ok if i change all to IP then will it solve the issue?

    Thread Starter leanne0333

    (@leanne0333)

    So I changed all to IP address. I deactivated the plugin flushed all caches, tested speed and again TTFB improved. I reactivated the plugin with just IP address settings no cookies but again the TTFB shot up as soon as it was activated again. It seems to be adding the cookies even when none of my timers use them.

    Plugin Contributor intellywp

    (@intellywp)

    Hello

    i created the same type of countdown on my local WordPress installation and unfortunately the plugin needs to add this cookie FirstSeen, regardless of the detection mode

    Thread Starter leanne0333

    (@leanne0333)

    Oh no, thats a real problem! Would this be an issue for all caching plugins or do you think its specific to SG Optimizer?

    Plugin Contributor intellywp

    (@intellywp)

    Hello

    Unfortunately i have no idea.

    You could install one of available cache plugin on www.ads-software.com plugin directory and check again your website

    Hi @leanne0333 ,
    We’ve just updated the paid premium plugin to Facilitate page caching when IP Only counters are used.The free version will be limited to cookie, but pro version will allow caching via IP.

    The cause of the slowdown is the use of the Session which is used to track unique users. The Session information is stored on the server which is why the session cookie comes from the server on each page load. It is not possible to only enable the session on a particular page because the session cookie arrives in the header before the html body is sent. If the session is only enabled on a page, then the page would need to be refreshed to to update from the server before the session cookie can be accessed.
    Because of the way the Session works, we have disabled the Session when only the IP is used to track all countdown timers on the site. If any of the countdown timers use cookie tracking, then the Session will be activated site wide.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘causing issues with caching’ is closed to new replies.