Title: Cache support for massive speed boost via this patch
Last modified: August 20, 2016

---

# Cache support for massive speed boost via this patch

 *  [flynsarmy](https://wordpress.org/support/users/flynsarmy/)
 * (@flynsarmy)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/)
 * I was looking into why my page loads were so slow (particularly the homepage)
   and discovered this plugin was to blame – it seems generating the highlighted
   syntax is pretty CPU intensive 🙂 So I’ve written a caching patch.
 * Get it here:
    [https://github.com/Flynsarmy/wp-syntax/commit/fafd2e70c23732717f23bc667a8cf3a93b2237a3](https://github.com/Flynsarmy/wp-syntax/commit/fafd2e70c23732717f23bc667a8cf3a93b2237a3)
 * This patch decreased my home page’s load time from 2.9 seconds to 0.3. Cache 
   is generated after first page load and is invalidated when a post or comment 
   is updated.
 * [http://wordpress.org/extend/plugins/wp-syntax/](http://wordpress.org/extend/plugins/wp-syntax/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/#post-3556461)
 * Is the patch gone?
 *  [Doodlebee](https://wordpress.org/support/users/doodlebee/)
 * (@doodlebee)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/#post-3556462)
 * No, it’s [here](https://github.com/Flynsarmy/WP-Syntax/blob/master/wp-syntax.php).
 *  [brasofilo](https://wordpress.org/support/users/brasofilo/)
 * (@brasofilo)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/#post-3556471)
 * Gone again…
 *  Thread Starter [flynsarmy](https://wordpress.org/support/users/flynsarmy/)
 * (@flynsarmy)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/#post-3556472)
 * I deleted my cloned repo because it was merged into core. There’s no need to 
   see my copy anymore.
 * **EDIT** I stand corrected – it appears to be gone again. You can check out my
   copy of wp-syntax [here](https://github.com/Flynsarmy/wp-syntax). It’s got my
   caching improvements baked in.
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/#post-3556473)
 * I never thanked you.
    Thank you 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cache support for massive speed boost via this patch’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-syntax_f8f6f6.svg)
 * [WP-Syntax](https://wordpress.org/plugins/wp-syntax/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-syntax/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-syntax/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-syntax/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-syntax/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-syntax/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [BramNL](https://wordpress.org/support/users/bramnl/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/#post-3556473)
 * Status: not resolved