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

Download DB Cache Version 0.6

Downloaded a total of 3230 times


312 Responses to “DB Cache plugin”

  1. Blog de NeKRoMaNT » Paseos por la red el 2009-05-29 says:

    [...] a link on Delicious. DB Cache plugin – WordPress Escrito por NeKRoMaNT en: General [...]

  2. Consejos para optimizar el blog de Wordpress - Blogodisea says:

    [...] DB Cache para realizar la caché de la base de datos. [...]

  3. Velocizzare Wordpress con DB Cache says:

    [...] Sito Ufficiale [...]

  4. FreewareMatter says:

    Is there a problem if I use this plugin with WP Super Cache? I’m using WP Super Cache and don’t want to throw it. Thank you.

  5. Suraj says:

    When a user registers, he is not able to login for the time dbcache is cached, system gives a message of username not exists.

    What can I do to avoid this delay.

  6. yuri says:

    Hi to all,
    good plugin…small problem, with wordpress 2.8 if cache is active once post new article not show tags, detai here http://wordpress.org/support/topic/279132 (section “Tags are not saved”).
    please correct, very good plugin ;)

    Yuri

  7. ErisDS says:

    Hi Dmitry,

    Thanks for your awesome plugin. I wanted to drop by and report the Wordpress 2.8 bug with tags as above. Sorry to complain, but really hope you get chance to fix this soon.

    Eris

  8. DB CACHE PLUGIN据说是WORDPRESS最快插件 | CKSKY says:

    [...] 总体来说是按照数据库的访问来缓存的,速度还在测试中 有兴趣可以到: DB Cache homepage 这里看看 记得安装完后开启插件 [...]

  9. Whose Blog is it anyways? » Wordpress Speed up says:

    [...] a better plug in, its called DB Cache and it treats the root cause rather than a work around. Here is the performance improvement on my [...]

  10. Famelici automi | creative blog says:

    [...] alcuni dei migliori plugin per Wordpress che alleggeriscono notevolmente il carico del server: DB Cache e Hyper Cache. Combinati assieme trasformeranno il vostro blog in una scheggia, li consiglio a [...]

  11. scribu says:

    Hello, I was wondering if you have any plans to update this plugin or not.

  12. Cachea tu blog totalmente. | TodoWordPress says:

    [...] atrás. Así que, en este consejo, usaremos tres plugins, el WP- Caché, el WP Widget Caché y el DB Caché, que conjuntamente hacen una barrera infranqueable para la [...]

  13. Mehr Geschwindigkeit für Wordpress - Teil 3: DB-Tuning // hombertho.de says:

    [...] Lösung, wie man hier Zeit sparen kann bin ich auf ein interessantes Wordpress Plugin namens DB-Cache gestossen. Dieses kleine und tolle Plugin merkt sich die einzelnen Datenbankabfragen, die bei einem [...]

  14. Daniel says:

    Hi Dmitri,

    your plugin was the best caching solution for my site and I’m really interested in getting it working again.

    Should I wait or did you stop development?

    Daniel

  15. Mahesh says:

    I noticed that though the actual number of DB queries after enabling this plugin is less, the processing time seems to be higher.

    Plugin Disabled:

    Plugin Enabled:

    Any thoughts on why I’m seeing this?

  16. Mahesh says:

    Plugin Disabled:
    Generated in 6.496 seconds. Made 73 queries to database and cached queries. Memory used – 2.07MB

    Plugin Enabled:
    Generated in 13.485 seconds. Made 33 queries to database and 41 cached queries. Memory used – 2.07MB

  17. Andy says:

    I’d like to make a few suggestions:

    1. Not to cache admin functions. Right now mysql queries made by the admin CP are being cache. It makes editing your site hard.

    2. Include option for unlimited expiry of the cache and update cache only when new posts are made. This way you reduce the number of times cache is refreshed maximally.

  18. Update – Links – Love – 5 | The Nexus says:

    [...] DB Cache – Now I dont use a caching plugin (they just seem to break this site!) however this seemed to work wonders; It reduced database calls from the front page from 47 to 22. That is a 50%+ benefit!! (I used debug-queries plugin to check…its also useful to find those bad sql queries). [If your having consistent high CPU issues I suggest you have a quick look at Michael Latest series] [...]

  19. Marc says:

    I wonder if this plugin if necessary, if you already use the query_cache at the MySQL-Server?
    Sounds like both do the same job?

  20. Como reduzir a memória e CPU utilizada do servidor WEB says:

    [...] pouco tempo li no todoWp sobre um plugin chamado DB-Cache, capaz de cachear as consultas do banco de dados com os resultados que podem ver na imagem superior [...]

  21. DB Cache, para agilizar tu sitio un poco más | Codigo Geek says:

    [...] | DB Cache Via | Todo WP Te gusto este articulo? Suscribete al Feed de Codigo Geek via RSS o via Email y [...]

  22. Daniel says:

    Hi dimitri, i put the plugin, activate, but when i see the code apears this

    0 cached queries?

    what i´m doing wrong

    thanks

  23. Istanto says:

    Hi, I have deactivated this plugins from my blogs because it give error on updated feed posts and cooment, I can’t edit something like tag, comment, etc also. Please update it with new version.

  24. mweeza says:

    I wish I had a cool blog like yours. I would love to start one myself with Wordpress but I’m affraid I’d give it up too soon ^^’

  25. David Carrero Fdez-Baillo says:

    Your plugin don’t run correctly with admin zone in wordpress. Your plugin cache comments edit and suggest tags, … and don’t run correctly. I desactivate for run ok.

Leave a Reply