The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP Widget Cache
[resolved] critical bug: plugin saves 2 files at once for one widget (4 posts)

  1. Vasya Pupkin
    Posted 5 years ago #

    On single post pages with enabled option "Vary by: CurrentCategory" plugin saves 2 files instead of one: for category of current post and for category of next post.
    Sometimes it creates wrong directory:
    wp-content\widget-cache\S\[cache dirs]
    instead of
    wp-content\widget-cache\example.com\[cache dirs]
    Please, fix it. This plugin is very good, it saves about 30% of page generation time on my site, but I'll not use it with this bugs...


  2. Vasya Pupkin
    Posted 5 years ago #

    Sorry, this is not Widget Cache issue, but some other plugin, which performs execution of all plugins twice.

  3. Vasya Pupkin
    Posted 5 years ago #

    This was Firefox feature, it auto fetches next post from meta tag rel=”next”.
    But the problem with wrong direcrory is still remains.

  4. Vasya Pupkin
    Posted 5 years ago #

    To solve issue with directories, I've commented the line
    in widget-cache.php.
    S is my localhost alias. There is no need to separate cache files by host on non-multidomain sites. In few days there were 6(!) folders in \wp-content\widget-cache\ directory named as IP addresses or various domain names.
    I suggest to add checkbox "Domain name" to option 'Vary by' and not to use "HTTP_HOST" variable, it can be defined on client side, so in few months there will be a lot of garbage in "widget-cache" directory.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic