• Resolved designa

    (@designa)


    Good afternoon, I use the Social Count Plus plugin to display the number of subscribers on the facebook page and the YouTube channel, to use them on each page in the header.php is used – get_template_part (‘content’, ‘coun’).
    I added in the field *Add here those filenames that can be cached

    class-social-count-plus-generator.php
    content-coun.php

    Is it possible to exclude the operation of this plugin from the cache or disable the cache for get_template_part (‘content’, ‘coun’) ?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s possible, but not easy to do this but you’ll need to create a “dynamic caching” plugin for Supercache that calls that counter on every call. Your page will be slightly slower because it’s not cached too.

    If you really want an updated counter, set the cache expiry to 600 seconds so at least the cache files will update very often.

    Thread Starter designa

    (@designa)

    Great, thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Social count cache’ is closed to new replies.