WordPress
Майстер класи WordPress
DB Cache plugin
The fastest cache engine for WordPress, that produces cache of database queries with easy configuration.
Description
This plugin caches every database query with given lifetime. It is much faster than other html caching plugins and uses less disk space for caching.
I think you’ve heard of WP-Cache or WP Super Cache, they are both top plugins for WordPress, which make your site faster and responsive. Forget about them – with DB Cache your site will work much faster and will use less disk space for cached files. Your visitors will always get actual information in sidebars and server CPU loads will be as low as posible.
See the DB Cache homepage for further information.
Installation
1. You should upload the db-cache folder to your wp-content/plugins
2. Go to your Plugins page and activate “DB Cache”
3. Now go to Settings->DB Cache and enable caching of DB queries. The plugin will create wp-content/tmp folder and db.php file for serving cached queries in wp-content folder.
That’s all! Enjoy the speed of loading pages.
Frequently Asked Questions
How do I know my blog is being cached?
Check your cache directory wp-content/tmp/ for cache files.
How can I ensure of reducing server usage?
View the source of your site page, there maybe some code like this at the foot:
<!– 00 queries. 00 seconds. –>
If not, please put these codes in your footer template:
<!– <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. –>
After using the DB Cache, I think you’ll find the number of ‘queries’ reducing a lot.
Why is DB Cache better than WP Super Cache?
This plugin is based on a fundamentally different principle of caching queries to database instead of full pages, which optimizes WordPress from the very beginning and uses less disk space for cache files because it saves only useful information.
It saves information separately and also caches hidden requests to database.
Troubleshooting
Make sure wp-content is writeable by the web server. If not you’ll need to chmod wp-content folder for writing and also config.ini file in plugin folder.
How do I uninstall DB Cache?
1. Disable it at Settings->DB Cache page. The plugin will automatically delete all cache files.
2. Deactivate it at plugins page.
Other Notes
Updates
Updates to the plugin will be posted here and the Ukrainian WordPress will always link to the newest version.
Thanks
I would like to thank Lviv for giving me the idea for this and RKG for support.
Download
Downloaded a total of 3244 times


I translate Db-Cache to spanish, you can download spanish language for you DB-Cache plugin in my site.
http://carrero.es/cache-en-wordpress/
After the recent WP upgrade to 2.8 (and 2.8.1), there is a conflict with the plug-in that prevents you from editing comments and tagging posts. Sorry if this repeats any of the above replies, but I’m short on internet time and I thought I’d let you know. Thanks for the developing the pug-in!
Disable db Cache before adding new posts. Enable again after You have finished adding your posts. It works.
[...] hace unas semanas sobre formas de optimizar la memoria del servidor, fue cuando conocí el plugin DB-Cache, con los resultados que podéis ver en la imagen superior (de 50 GPUs diarios a 3 GPUs). [...]
[...] http://wordpress.net.ua/db-cache การใช้งานก็ง่ายมาก ๆ [...]
Thanks for your work on the DB Cache plugin. I’ve been using for the past few months, and it’s really helped my site. Are there any plans for a future update?
I am evaluating various cache options for my WP blog – I like this idea of caching the DB query results separate from the pages.
One question. If I have an existing widget that gives me a collapsing archive lits in my side-bar what should I expect to happen there ?
I gave up on this widget once before because of the performance hit on every side-bar load, even though it was rebuilding the collapsed view on every load. Will the list actually expand, if I am using a caching plug in too ?
I use DB Cache and WP Super Cache togheter, and its reduce with 50%! I recommened it alot!
From 63 queries to 32 queries. Its a amazing!
From 44 queries and 2.5 seconds load time down to 29 queries and 1.5 seconds. Not bad.
The best information i have found exactly here. Keep going Thank you
Hi, thanks for your plugin. I does not seem to work properly on my page. of up to 160 queries (fuck the theme which by itself makes more than 100 queries) only a maximum of 2 get cached. Those are only comments – well not bad at least for pages with over 200 comments.
I use wp-supercache on full on, wp-widget cache to get most widgets cached, csprites for wordpress to get images into one sprite and db cache all to get my server (dedicated) to survive. In the evening the cpu use never drops under 2-3 (on a single core).
I would have hoped to get db cache to reduce queries by at least 10% but to no avail it seems. Any possibility to debug why not other queries are cached?
It’s a great plugin but it has some bugs.
Can someone make an upgrade for WP 2.8.1?
Thanks.
Worked great until 2.8.1. The main problem I have with it now is that it doesn’t display tags for my posts.
Would be great if someone could upgrade it for 2.8.1
Thanks
Sebastien
It works fine under WP 2.81, but It’s has some bug for tags.
[...] In a previous article “Optimize your Wordpress blog”, I considered some ways to accelerate through the mute function and the installation of optional plug-ins to clean the database. In this post are invited to refer to another plugin to accelerate work with – DB Cache. [...]
Great plugin my qurerys allreduced but
i liketoknow the performace out put
i can’t get this output
Generated in {timer} seconds. Made {queries} queries to database and {cached} cached queries. Memory used – {memory}
how to get those output
if i use <!– queries. seconds. –>
i get the result
but i don’t get detail result like
Generated in {timer} seconds. Made {queries} queries to database and {cached} cached queries. Memory used – {memory} ?
can you provide code iam using wp 2.8
[...] DB-cache – another caching plugin which claims your site will work much faster and will use less disk space for cached files. [...]
Well, I spoke too soon. I lost the ability to edit comments, until I turned this plugin off. Also, about 70 posts (out of 200) had their tags change to the word “array” and were uneditable until I turned the plugin off. This will take hours of work to fix. Needless to say this plugin will not be used again.
the plugin is not compatible with wp 2.8+
comments editing and approving is not working.
page editing give some problem too, i’ve had to disable it
waiting for an updated version.
списки кандидатов, выдвигаемые партиями политическими и избирательными объединениями (блоками) для выборах в представительные органы, проводимые по пропорциональной избирательной системе.
The plugin has a problem in wordpress 2.8.2
http://wordpress.org/support/topic/275443?replies=10
any fixes for this yet?
Узнай об имени правду ! Любые имена есть на этом сайте!!
E como corrigir os erros no WordPress 2.8
Hello,I’m a user of DB CACHE from china.
Thanks you for providing such a nice plugin.
I’ve made a Chinese language pack for DB Cache.I hope you can include it in your next version because there are lots of users of wordpress in china,who are the users of db cache as well.
you can contact via my e-mail.
thx.
lugfli;i
[...] DB Cache – this is probably one of best plugins I’ve seen. It caches database queries which WP SuperCache doesn’t do. The result is a more efficient disk space usage as it only saves important database information in your server. I once tested it on my site with 223 queries per page load. It reduced the queries to only 47 which was really a significant increase in performance and less strain on the server. [...]
[...] Web: wordpress.net.ua/db-cache [...]
Hope it’ll work for me too.