WordPress.org

Ready to get started?Download WordPress

Forums

Usernoise modal feedback / contact form
[resolved] Too many HTTP Requests (4 posts)

  1. Joeynoh
    Member
    Posted 1 year ago #

    This is a really nice and useful plugin, but i do want to express one concern:

    Right now there are 3 CSS files being loaded and 2 separate JS files. Neither of these files are minified.

    When Usernoise is the only plugin you're using, it's not gonna make a drastic difference, but for someone like me who is using this among many other plugins, it really weighs down website. You can easily combine those 3 CSS files into 1 and minify it, and same for the JS files. You'd go from 5 requests, to 2 with a reduction in file size.

    I mean.. usernoise-adminbar-css.css only has like 10 lines.. you can easily put those somewhere else and save us some load time.

    http://wordpress.org/extend/plugins/usernoise/

  2. karevn
    Member
    Posted 1 year ago #

    That was is an informed decision. Most of Usernoise users do not care about performance that much, so keeping it DRY (dont repeat yourself) is more important for me. You can always use CSS and Javascript minimiser plugin and to make your files load rocket fast. I was using BWP Minify for some time and was pretty much happy with it.

  3. Joeynoh
    Member
    Posted 1 year ago #

    Using a minimiser plugin does not reduce the amount of requests needed to get all the files. Also, this isn't a matter of keeping it DRY as you wouldn't be repeating any code when you simply put them in the same file, especially seeing as how they're all loaded anyway. It's a matter of placement.

    Even if the users dont consciously care about performance, you as the developer should.

  4. karevn
    Member
    Posted 1 year ago #

    It does concatenate files thus minimizing HTTP requests. Please see http://wordpress.org/extend/plugins/bwp-minify/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic