Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] Overzealous deletions of the APC opcode cache

  • Resolved Tonohono

    (@tonohono)


    Running 0.9.1

    This plugin is quite overzealous when clearing the APC opcode cache, specifically APC’s “User Cache Entries”. It clears the entire user cache, not just those created by the plugin (those prefixed with w3tc_).

    This behavior is detrimental to the other applications on my server which use APC’s user cache.

    I enjoy using this plugin, but this behavior is a deal breaker, so I hope it will be remedied quickly.

    I’m comfortable applying any patches you provide to remedy this issue.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Frederick Townes

    (@fredericktownes)

    This was visited a year ago when I decided to release my work. The problem is that apc_clear() doesn’t allow removal of only specific keys. Also, the TTL value for user objects will eventually remove those stored objects anyway. So what remains is to loop over objects (which take an unknown amount of time and also may not be compatible with other object caches.

    Do you happen to know how other opcode caches behave? What is an elegant implementation to iterate through an unknown sized data set to purge objects? I see lots of problems with these issues.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: W3 Total Cache] Overzealous deletions of the APC opcode cache’ is closed to new replies.