WordPress.org

Ready to get started?Download WordPress

Forums

WP-Syntax
Cache support for massive speed boost via this patch (6 posts)

  1. flynsarmy
    Member
    Posted 1 year ago #

    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

    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/

  2. BramNL
    Member
    Posted 1 year ago #

    Is the patch gone?

  3. Doodlebee
    Member
    Posted 11 months ago #

    No, it's here.

  4. brasofilo
    Member
    Posted 9 months ago #

    Gone again...

  5. flynsarmy
    Member
    Posted 9 months ago #

    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. It's got my caching improvements baked in.

  6. BramNL
    Member
    Posted 9 months ago #

    I never thanked you.
    Thank you :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.