• is it possible to lazy load ESI? Let me describe why I come up with this idea.

    I am using a post views counter plugin. Every time a post is loaded, post views get updated. When I enable cache, users are served with cached html file, so the post views don’t get updated.

    That is why I enabled ESI and used esi shortcode. So now post views get updated.

    But the problem is that TTFB or server response time is more than 2 seconds. And without the esi shortcode, TTFB is less than 0.5 second.

    So lazy loading ESI can be a solution to reduce initial server response time.

    Please let me know if I couldn’t clear what I want to achieve.

    Thank you for this awesome plugin.

  • The topic ‘is it possible to lazy load ESI?’ is closed to new replies.