WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Auto Enable Super Cache (7 posts)

  1. travisc94
    Member
    Posted 5 years ago #

    Here's a feature I would like to see in upcoming versions of WP Super Cache.

    WP Super Cache should have a feature that counts how much traffic the WordPress site receives and enables/disables the caching mode based on those statistics (like if it receives 300 visits within 5 minutes, it auto-enables). I would not like to have Super Cache running all the time on my blog, but there are times I wished I had it running (such as times when there is high traffic and I'm not on the computer).

    If it can't be added, I might just whip up a WordPress plugin myself to do this function.

  2. Donncha O Caoimh
    Member
    Posted 5 years ago #

    Sorry, it won't be added because counting traffic is very intensive and would add a lot of complexity. I'd love to see another plugin do it though as it's easy to activate the plugin.

  3. not2bug
    Member
    Posted 5 years ago #

    I've made an attempt to do a "auto lock down" feature based on the global memory usage of the server. Measuring the global memory status at each request is a really bad idea, but I think that it could be improved, take a look:

    http://www.megacubo.net/bugigangas/autolockdown.phps

  4. Donncha O Caoimh
    Member
    Posted 5 years ago #

    not2bug - interesting idea but will only work on Linux servers (I presume *BSD don't have /proc do they?)

    It's not something I'll merge in though. It could be quite a feature to support.

  5. not2bug
    Member
    Posted 5 years ago #

    The PHPSysInfo do this memory check cross-platform, I'll take a look into the sources.

    http://phpsysinfo.sourceforge.net/

  6. enli
    Member
    Posted 5 years ago #

    I vote for this excellent idea. Please keep us updated.

  7. Donncha O Caoimh
    Member
    Posted 5 years ago #

    Won't happen, sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic