• Resolved treeflips

    (@treeflips)


    I love what you guys are doing but wondering would it help improve performance if you implemented object cache?

    I’m using Simple Cache and having great success with their memcache/redis implementation.

Viewing 6 replies - 1 through 6 (of 6 total)
  • @treeflips We have chosen not to add object caching to Comet Cache because object caching is very prone to causing problems with other WordPress plugins, i.e., other plugins must be written with object caching in mind to work properly when object caching is enabled and many WordPress plugins are not, which can lead to all sorts of strange issues. That’s why when it comes to WordPress and object caching, it’s best to implement object caching as part of a bigger overall deployment strategy where each plugin you’re running has been specifically optimized (or at least thoroughly reviewed) for object caching.

    Another reason we’ve chosen not to focus on object caching at this time is that object caching in WordPress would save you database queries, however when you’re running a page caching plugin like Comet Cache, there are no database queries happening when Comet Cache serves a cached page (that’s what makes it fast). Also, the WordPress Core is already very optimized and includes a lot of built-in object caching, further reducing the need for adding this to a plugin.

    Regarding Memcached / Redis: The next version of Comet Cache Pro (coming out very soon) will include support for Memcached / Redis. ??

    @raamdev how about mod_rewrite support so no php is involved when serving cached pages ?

    Hey @massimod,

    We have a feature request open for this here and we’ve done some preliminary work to make this possible, however it requires a lot of careful consideration within the codebase: https://github.com/websharks/comet-cache/issues/783

    Thread Starter treeflips

    (@treeflips)

    Fascination discussion and I’m curious to understand what downsides of mod_rewrite are. I think it’s obvious but maybe you have more to say on the matter.

    @treeflips there are no downsides. Currently Comet Cache bypasses the db to serve cached pages, with mod_rewrite php is also bypassed. That way no php entry processes are initiated (simultaneous users) and everyone is happier. Hosting companies, customers and visitors.

    Actually, there are many downsides to using mod_rewrite, which is exactly why we haven’t prioritized it. The most important downside is that it makes the caching less compatible with other WordPress plugins.

    Here’s a list of downsides that would apply when using mod_rewrite:
    https://github.com/websharks/comet-cache/issues/783#issuecomment-380890313

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can you guys implement object cache?’ is closed to new replies.