• Resolved savvageorge

    (@savvageorge)


    Hi,

    First of all I’d like to say thanks for making this plugin, it is really awesome. I currently use a thumbs rating plugin that stores information in my SQL database but unfortunately this only seems to update once I clear out the cache. I was wondering if you might have any ideas how I might be able to clear the cache every time someone votes? Is there a php command that can clear the cache automatically that I can add to the plugin? Any advice would be much appreciated.

    Regards,

    George

    https://www.ads-software.com/plugins/hyper-cache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi George, you might like to check the following URl.

    Kind regards

    Thread Starter savvageorge

    (@savvageorge)

    I couldn’t find any relevant information. Which section of the URL would you recommend I read?

    Hi George, because you are having problems with your plugin I thought you might like to read the part about Technical Notes in the link above.

    In your case you might have to include some code into the plugin to exclude it from being cached. Hyper Cache as far as I know does not cache plugins. I don’t know anything about your plugin “thumbs rating plugin”. Perhaps you might like to also consult with the plugin developer as well.

    Kind regards

    Thread Starter savvageorge

    (@savvageorge)

    Hi I think I managed to figure it out. If you add the following code to the plugin it clears out the cache.

    hyper_delete_path(WP_CONTENT_DIR . ‘/cache/hyper-cache’);

    Feel free to get in touch if you would like to hire me on a full-time basis.
    :-).

    Kind Regards,

    George

    Plugin Author Stefano Lissa

    (@satollo)

    Hi, plugin which changes the status of a post should invalidate the cache for that page (at least). Since Hyper Cache does not offer an hook for that, I’ll add it but the plugin developer should add that feature.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Thumbs Rating Not Being Updated’ is closed to new replies.