Results 1 to 4 of 4

Thread: Please review my site and suggest for increasing the speed of site.

  1. #1
    Join Date
    May 2014

    Please review my site and suggest for increasing the speed of site.

    Hi Everyone,

    I am using a WordPress site and I want to increase site speed. So please review my site and suggest me how can I improve my site speed?

    Site- www.promaticsindia.com

  2. #2
    Well... for starters you could go through and rip out all the garbage wordpress shoves down your throat -- but that's why I favor custom solutions instead of off the shelf trash like turdpress.

    Before we get into the code and speed issues though, we need to talk accessibility -- or more specifically your complete lack of it. You've got illegibly undersized fixed metric fonts, illegible color contrasts (exacerbated by the weird use of text-shadow) and a broken attempt at being responsive. Trying to use the page on screen readers or braille readers is a joke -- likely meaning search engines aren't going to be all that happy with it either. Heading navigation is nonexistent/broken, and that distracting blurry image rotating banner nonsense at the top? Needs to go. That's one of those things the artsy types love to put on websites, that to be brutally frank has no business on a website.

    Now, if we're talking about speed, the home page of that site has 2.55k of plaintext and only three images I'd even consider calling content -- so why is it wasting 801k in 60 separate files? That's a rhetorical question, I can tell you why -- blindly pasting together off the shelf solutions...

    The total number of files is a major issue, since every file request takes ~3x the ping time. There is overlap since browsers can request multiple files at once, but that 60 separate files could take anywhere from 3 seconds to over a minute depending on the latency between browser and server.

    But -- let's go through these files. Given your relatively small amount of content and simplistic page design, there is no reason for the screen media target CSS to be more than 32k in a single file... and if I was coding it I'd probably use half that. You've got 214k of CSS in 14 files -- and that's a problem.

    You've got that pain in the backside known as jQuery in there just pissing all over the page. I know a LOT of people just LOVE their jQuery, but to frank I've never seen it applied to a site where it didn't just make things worse, slower, and annoying to me as a visitor to websites, and even MORE annoying as a developer. You have 426k of scripting in 15 files, on a page where I probably wouldn't have more than 24k of scripting in two files. A good first step would be to axe the slow loading content blocking twitter widget, all the jQuery based nonsense, the redundant google analytics garbage (you should be able to pull the relevent info from the server logs with Analog or Webalizer -- anything else is just pointless)... Pretty much throwing most of the scripting away as not gaining you anything of value compared to what it's costing you in load time.

    Now... what the devil does that need 30 image files for? I'm just not seeing it. The total filesize of 129k for all the images isn't bad, but you could probably leverage techniques like the incorrectly named 'CSS sprites' to cut things down a bit. I would try to get the template (not counting content) down to 12 or less image files.

    Now, under the hood it's your typical train wreck of "I can haz intarnets" markup I've come to expect from turdpress. It has that idiotic "Let's wrap the HTML tag in a half dozen IE conditionals" garbage Eric Meyer pissed all over the Internet with so people could sweep developer ineptitude under the rug, META tags nothing actually uses (author, language, rating, distribution), invalid / pointless robots values (there is no such thing as follow or index -- the ONLY valid robots values are nofollow, noindex and noodp), the code bloat "I don't know how to write CSS" X-UA-Compatible crutch, no media targets on the stylesheet embeds, overstuffed keywords meta with zero relevance to the page content... It's a disaster and I'm not even out of the <HEAD> yet.

    Then I get to body and see this:
    <body class="home blog single-author two-column right-sidebar">
    <div id="main">
    <div id="container">
    <div id="innercontainer">
    	<header id="branding" role="banner">
    Probably well over half those containers serve no legitimate purpose, the classes on body are just code bloat garbage and presentational use of CSS, and of course the pointless HEADER tag mated to aria roles are just pointless code bloat since nothing of value actually uses them.

    Form there we have incomplete forms, form scripttardery replicating placeholder when placeholders are NOT a substitute for LABEL, attributes like TARGET that have no business on any website written after 1997, little if anything resembling semantic markup or logical heading orders, paragraphs inside lists around non-paragraph text, even MORE endless pointless DIV for nothing, absolute URL's just to waste bandwidth (one of turdpress' hallmarks of shoving garbage markup down your throat), outdated javascript:void() nonsense likely meaning there is no graceful degradation, static style inlined in the markup, LABEL around a H1 for ... well... it's not inside a form so who knows why that is there. (and despite what the HTML 5-tards claim, inline level tags around block level is most always broken)... I could go on for quite a while.

    Which is how you ended up with 41k of markup doing somewhere around 10k's job.

    Overall, not counting social media plugins, I don't see any real reason for that page to be much more than 80k in somewhere around 16 files or less. That's HTML+CSS+SCRIPTS+Images -- and for that home page I'm including content in that!

    So there's a LOT to be fixed -- the trick is going to be convincing turdpress to let you do it since, well... the skinning system is garbage and it loves to shove bad markup and bad practices down your gullet.

    Just because something is easy, it doesn't make it good. Kind of a laugh though you asking this about what appears to be a page for someone building websites -- you should know all this already.
    Last edited by deathshadow; 05-29-2014 at 06:58 PM.

  3. #3
    Join Date
    May 2014
    Thanks for reply, I appreciate you for your solution.

  4. #4
    Join Date
    May 2014
    Wow. such brutal honesty.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.11408 seconds
  • Memory Usage 2,868KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (71):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates