WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] Way too many HTTP requests (4 posts)

  1. Jeff Starr
    Member
    Posted 1 year ago #

    I love this plugin and want to help promote with reviews and so forth, but there are just WAY too many HTTP requests.

    I've checked the option to "Attempt to load Crayon's CSS and JavaScript only when needed" hoping that would help, but crayon is still loading 3 external JavaScript files and 4 external CSS files -- 7 HTTP requests -- for every page load. That's just waaaay too many for a syntax highlighter.

    Will you please consider combining some of these external files to reduce the number of HTTP requests from seven to anything less than that would be so awesome. Ideally the plugin would load a single CSS file and a single JS file, and only on pages where they're actually used.

    Again, the Crayon plugin is tremendous, but really needs some performance optimization (i.e., fewer HTTP requests) to make it useful on larger production sites. Okay that's my rant, thanks for reading (and for a great plugin).

    http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

  2. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks Jeff! Please check out this post I just wrote: http://ak.net84.net/crayon/resources-loaded-in-crayon/
    I've put it on my site so others can see it more clearly.

  3. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    I've also recommended how to minify everything: http://aramk.com/projects/crayon-syntax-highlighter/

  4. Jeff Starr
    Member
    Posted 1 year ago #

    You should give users the option to minify/combine files without having to install a caching plugin. Having to install a caching plugin for syntax highlighting is overkill.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic