Title: Speed up
Last modified: August 20, 2016

---

# Speed up

 *  [schnettker](https://wordpress.org/support/users/schnettker/)
 * (@schnettker)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/speed-up/)
 * Hi, i am using vote it up and if i use the MostVotedAllTime() function the site
   will be slow.
 * To speed it up (inspired by [http://www.sitepoint.com/create-a-voting-plugin-for-wordpress/](http://www.sitepoint.com/create-a-voting-plugin-for-wordpress/))
   i save the count value in the metas.
 * votingfunctions.php (only a part)
    [http://pastebin.com/1dkbKpSd](http://pastebin.com/1dkbKpSd)
 * To get the value i stop using GetVotes($postID) and start using
 * $votes = get_post_meta($postID, ‘_votemecount’, true) != ” ? get_post_meta($postID,‘
   _votemecount’, true) : ‘0’;
 * To delete votings i modified the ResetVote Function
 * [http://pastebin.com/Smyx61hz](http://pastebin.com/Smyx61hz)
 * Additionaly i don’t need guest votings and delete all SQL Statements about that
 * I use it on [http://www.gwinnr.de](http://www.gwinnr.de) and reduce the cpu load
   about 90% and save 300 querries on some pages
 * [http://wordpress.org/extend/plugins/vote-it-up/](http://wordpress.org/extend/plugins/vote-it-up/)

The topic ‘Speed up’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/vote-it-up.svg)
 * [Vote It Up](https://wordpress.org/plugins/vote-it-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vote-it-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vote-it-up/)
 * [Active Topics](https://wordpress.org/support/plugin/vote-it-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vote-it-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vote-it-up/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [schnettker](https://wordpress.org/support/users/schnettker/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/speed-up/)
 * Status: not resolved