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 3230 times


I think this plugin also cache Redirection plugin in the wp-admin.
[...] DB Cache plugin: I’ve replaced WP Super Cache with this plugin as it’s faster.
hi
i got permission error while activating plug in
1. where is config.ini file i cannot find it
2.wp-content i make permission to 755 but still showing error that change permission to 755
plz help me
i also have raj’s problem
plz help us
Hello.
My site allows for users to register, however when I installed this plugin I get the “invalid password error” when registering new users.
When I clear the cache the user is able to login. I have disabled this plugin, but i am hopeful that there is a work around to this as it does speed things up.
thans.
I’m addicted to your website, even if I don’t understand a single word of it.
Love the plugin, but I had to deactivate it. I have a similar issue to Mike (03.04.2009 comment). New users can’t register or login. Is this a simple fix on my end, e.g. cache filter?
is dbcache compatible with wpmu and buddypress ?
it tried and it did not work
i am using trunk wpmu 2.7.1 and last trunk buddypress
have you thought of an option to use memcache instead of flat files for the db cache? that could potentially speed up db-cache dramatically over all the extra i/o serialization
Does anyone know how to allow users to subscribe and still use this plugin without getting an invalid password/username error.
I think that the following lines should be added to have compability with the lockdown mode of WP-SuperCache.
function dbc_clear()
{
if(defined(’WPLOCKDOWN’) && constant(’WPLOCKDOWN’)) return false;
…
Hi, can this plugin co-exist with WP-Cache2? Sounds kinda redundant but I’m just lazy to remove wp-cache unless it is necessary since it requires some editing.
Hello:
Can this plugin co-exist with HyperCache plugin?
Is DB Cache better than HyperCache?
Привет
Отличный плагин! Не планируете ли вы портировать его для bbpress? Мне кажется это возможно и будет полезным в связи с выходом v1
Спасибо!
[...] В предыдущей статье на тему оптимизации работы блога на WordPress я рассмотрел некоторые способы ускорения за счет отключения необязательной функции и установки плагинов для чистки базы данных. В данном посте предлагаю ознакомиться с еще одним плагином для ускорения работы с базой – DB Cache. [...]
That was nice. Thank you for sharing this one.
i’m confuse, why i got result like this?
Fatal error: Cannot redeclare class wpdb in /home/xxx/public_html/wp-includes/wp-db.php on line 53
is it something wrong? could u tell me why?
Hello & first of all let me say a big “thank you” for this wonderful plugin !!!
is there a way to make this plugin work with wp-pagenavi form lester chan?
greetings,
thomas
Yes, it’s very fast and optimize qurey minimum.
Nice plug-in. Thanks.
hi.
i just found this hack to make it work with wpmu and buddypress:
http://buddypress.org/forums/topic.php?id=2737
maybe can be included into next release?
tia
[...] Secondo passo, attivazione del plugin DB Cache. [...]
huh i enabled db cache
but the result is not satisfactory
before caching db i had 142 queries
after enabling db cache the queries are 126 not cached and 35 cached
is there any way to know what queries has cached?
[...] 這次只能使用單獨cache資料庫的東西 Ladies and gentlemen…DB Cache補丁! DB Cache安裝方式跟其他補丁一樣 [...]
[...] DB Cache 0.6 » Dmitry Svarytsevych (url) The fastest cache engine for WordPress, that produces cache of database queries with easy configuration. (Disable and enable caching after update) [...]
[...] DB-cache – another caching plugin which claims your site will work much faster and will use less disk space for cached files. [...]