travisc94
Member
Posted 7 months 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.
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.
not2bug
Member
Posted 7 months 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
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.
not2bug
Member
Posted 7 months ago #
The PHPSysInfo do this memory check cross-platform, I'll take a look into the sources.
http://phpsysinfo.sourceforge.net/
I vote for this excellent idea. Please keep us updated.