Title: Performance issue from commented out cache code.
Last modified: November 4, 2019

---

# Performance issue from commented out cache code.

 *  [Matt Harrison](https://wordpress.org/support/users/matt-h/)
 * (@matt-h)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/performance-issue-from-commented-out-cache-code/)
 * It looks like in the latest release you have commented out cache code from here:
   [https://plugins.trac.wordpress.org/changeset/2129932/wp-facebook-pixel/trunk/inc/NSAUtilities.php](https://plugins.trac.wordpress.org/changeset/2129932/wp-facebook-pixel/trunk/inc/NSAUtilities.php)
 *     ```
       //$cache = get_transient($post_type.'_meta_keys');
       //if($cache) return $cache;
       ```
   
 * This is causing these expensive SQL queries to run all the time with a big performance
   hit.
 * Can you add the cache code back in?

The topic ‘Performance issue from commented out cache code.’ is closed to new replies.

 * ![](https://ps.w.org/wp-facebook-pixel/assets/icon-128x128.png?rev=2142263)
 * [remarketable](https://wordpress.org/plugins/wp-facebook-pixel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-facebook-pixel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-facebook-pixel/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-facebook-pixel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-facebook-pixel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-facebook-pixel/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Matt Harrison](https://wordpress.org/support/users/matt-h/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/performance-issue-from-commented-out-cache-code/)
 * Status: not resolved