If you are using bbPress for your forums you would notice a lot of tiny gravatars alongside each author name ( unless you are using a custom bbPress theme ). These images are 14×14 in dimension, and depending on the no. of forums/topics you are displaying in a single page you could end up sending a lot of tiny requests for each image. This could effect the performance and load time of your page. You can apply the following filters to remove the images and just display the name of the user. function rtp_remove_bbp_author_gravatar( ) { return null; } function rtp_remove_bbp_gravatar( $author_link, $args ) { return preg_replace('/ Related posts:
-- This Post Disable small gravatars in bbPress for better performance is Published on Devils Workshop . | |||
| |||
| |||
|
Friday, 17 August 2012
Disable small gravatars in bbPress for better performance
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment