1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How To Increase Speed Of My Website?

Discussion in 'Site & Server Administration' started by Darnell Thor, Nov 25, 2019.

  1. #1
    Hello Friends,

    I have this small website. Can someone please suggest me how can I decrease the loading time of the website. On Google speed checker mobile version it's coming too low.
     
    Darnell Thor, Nov 25, 2019 IP
  2. malky66

    malky66 Acclaimed Member

    Messages:
    3,996
    Likes Received:
    2,248
    Best Answers:
    88
    Trophy Points:
    515
    #2
    Hard to say without seeing the site in question.
     
    malky66, Nov 26, 2019 IP
    JEET likes this.
  3. JEET

    JEET Notable Member

    Messages:
    3,825
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #3
    Use 300 horse power instead of 150... LOL

    Is your website done in wordpress? It has a tendency to load slower, cannot do much there.

    If its a custom CMS that uses databases, then optimize your queries, create index on table columns, limit the number of results pulled out.

    Check if script is connecting to database again and again. This will be slow. Connect once, get the needed data and be done with it.

    If already doing all this, then think about caching pages and deliver saved cache on request.
     
    JEET, Nov 26, 2019 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #4
    Sadly you're too new here to post links yet, though you're only a post or two away from that. Try omitting the periods and protocol from the domain replacing them with spaces and the word "dot" to get around that.

    "forums dot cutcodedown dot com" for example.

    Since we really have to see it to say where your problems may lie... though the majority of the time a site is slow it falls into two categories: Data transmitted or server hang-ups.

    data transmitted - using too many separate files, too many large images or videos that have ZERO business on a website in the first place, halfwitted incompetent trash like frameworks (jQuery, bootcrap, etc) or poorly optimized CMS templates (aka 99% of the templates for turdpress), using JavaScript where unnecessary, unwarranted, or in a manner that tells large swaths of users to go suck an egg, etc.

    All of those are a case of "doctor, doctor, it hurts when I do this!" -- well don't do that.

    Server hangups on the other hand are a lot more work to deal with, though unless your database is truly massive it's shocking how often just throwing more RAM at the hosting works wonders; but other issues like overflowing error logs needing to be frequently cycled, poorly optimized queries, convoluted code that improperly hangs onto the connection, it all adds up.

    Though dimes to dollars your problem is the template itself, the number of files, and a bunch of other stuff that hogs the networking and makes the client-side just take too long.
     
    deathshadow, Nov 26, 2019 IP
    JEET likes this.
  5. nshep

    nshep Greenhorn

    Messages:
    66
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    13
    #5
    nshep, Nov 27, 2019 IP
  6. bountysite

    bountysite Active Member

    Messages:
    71
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    73
    #6
    If you are running VPS, then do checkout centminmod.
    If you are on shared hosting and using wordpress, try wordpress static file generators.
    Check if your hosting provider is using SSDs, which are common in hosting these days.

    You can look at CDN to serve some static contents.
     
    bountysite, Nov 27, 2019 IP
  7. sarahk

    sarahk iTamer Staff

    Messages:
    28,494
    Likes Received:
    4,457
    Best Answers:
    123
    Trophy Points:
    665
    #7
    It could be as simple as fixing the file size of your images but it's likely to be many things that all cost a little bit of time.

    When you "inspect" the site and check the network tab what sort of results do you get?

    Here's what I get for a page at this forum...

    upload_2019-11-28_18-18-37.png
     
    sarahk, Nov 27, 2019 IP
  8. Darnell Thor

    Darnell Thor Greenhorn

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #8
    Here is the website https://silicophilic.com I am trying to optimize.
     
    Last edited: Nov 27, 2019
    Darnell Thor, Nov 27, 2019 IP
  9. tuxandrew

    tuxandrew Active Member

    Messages:
    63
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    68
    #9
    You can check the server performance first.

    1. Check server load average is fine .
    2. Any caching techniques (like varnish cache) installed with the webserver to improve the website loading speed.
    3. Ensure server is running with a high through put SSD with Good i/o.
    4. Ensure server resources (RAM,CPU)is sufficient enough to handle the website.
    5. Confirm the webserver(Apache)and database server are well optimized.
    6. If the website is php based, then confirm the handler is fpm or fast-cgi.
    7. Ensure gzip compression is enabled for your website.

    Further on pages, you can check through the following link to know the recommendations for optimizing website code
    developers [dot] google [dot] com/speed/pagespeed/insights/
    Follow the advises and optimized the website with the help of your developer.
    Check if, unoptimized plugins, huge image size,css,javascript cause the issue and any unwanted redirections to external link cause unnecessary delay.
     
    Last edited: Nov 27, 2019
    tuxandrew, Nov 27, 2019 IP
  10. tuxandrew

    tuxandrew Active Member

    Messages:
    63
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    68
    #10
    @Darnell Thor
    The pingdom tools shows that the website takes only 1.66 seconds for loading. Does it takes more time from your end?
     
    Last edited: Nov 27, 2019
    tuxandrew, Nov 27, 2019 IP
  11. sarahk

    sarahk iTamer Staff

    Messages:
    28,494
    Likes Received:
    4,457
    Best Answers:
    123
    Trophy Points:
    665
    #11
    I had a readable, presentable site in an acceptable amount of time in NZ/Win10/Chrome

    upload_2019-11-28_22-22-36.png

    I'm amused by the files that didn't load
    upload_2019-11-28_22-23-11.png
     
    sarahk, Nov 28, 2019 IP
  12. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,151
    Likes Received:
    1,656
    Best Answers:
    29
    Trophy Points:
    475
    #12
    The only thing that slows it down for me is the AdSense ads.
     
    qwikad.com, Nov 28, 2019 IP
    JEET likes this.
  13. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #13
    First-load cache-empty it's a bit of a pig here, coming in at around 20 seconds. The reason for this is the sheer number of separate files, though the total file sizes is no winner either.

    Every time there's a separate file on a site, you are "real world" averaging an extra 200ms per file past the first 8. Since the page comes to nearly two megabytes in 89 separate files, you're basically looking at 16 seconds average, but worst case it could be a minute and a half. Only if you're seated on top of the hosting or close to a backbone would it load any faster. Hence why the opinions of how "fast" it is for any one person is pretty much meaningless, you have to do the math!

    Of course, it's been squeezed out of the turdpress, meaning it's an efficiency and accessibility train wreck that if this is for a serious business, I'd suggest pitching in the trash and starting over from scratch at the first opportunity. Static CSS in the markup, endless pointless DIV for nothing, endless pointless classes for nothing, "semantic markup, what's that?!?", etc, etc, it's the typical laundry list of "how not to build a website" I've come to expect from turdpress templates.

    Take this disaster for example:
    
    <div class="site-container"><header class="site-header" itemscope itemtype="https://schema.org/WPHeader"><div class="wrap"><div class="title-area"><h1 class="site-title" itemprop="headline"><a href="https://silicophilic.com/">Silicophilic</a></h1><p class="site-description" itemprop="description">For All Tech Lovers</p></div></div></header><nav class="nav-primary" aria-label="Main" itemscope itemtype="https://schema.org/SiteNavigationElement"><div class="wrap"><ul id="menu-main-menu" class="menu genesis-nav-menu menu-primary"><li id="menu-item-513" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-513"><a href="https://silicophilic.com" aria-current="page" itemprop="url"><span itemprop="name">Home</span></a></li>
    Code (markup):
    doing the job of:

    
    <div id="top">
    	<h1><a href="/">Silicophilic</a></h1>
    	<ul id="mainMenu">
    		<li><a href="/">Home</a></li>
    
    Code (markup):
    The typical ignorant, incompetent, inept garbage I've come to expect from pretty much everything done in turdpress. Hardly a shock in it's wasting 51k of markup for 4.56k of plaintext and 8 content media -- not even 10k of HTML's flipping job!

    This code bloat is only further exacerbated by the ridiculous amount of CSS and scripting -- where for the template, not counting social media plugins -- there's typically little reason for more than 48k of CSS in one file per media target, and a similar amount of scripting. As such when pages like this crap out 158k of CSS in 9 files and 1.33 megabytes of scripttardery in 36 separate files, it's hardly a shock the page has load time and severe performance issues.

    Derpitude like this alone:

    
    <body data-rsssl=1 class="home blog custom-header header-image header-full-width content-sidebar genesis-breadcrumbs-hidden genesis-footer-widgets-hidden outreach-pro-blue">
    
    Code (markup):
    Being enough to send any competent web developer running and screaming to the hills.
     
    deathshadow, Nov 28, 2019 IP
  14. Jay East

    Jay East Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #14
    is this only html and css , or any other language too?
     
    Jay East, Jun 9, 2020 IP
  15. FPForum

    FPForum Notable Member

    Messages:
    4,171
    Likes Received:
    102
    Best Answers:
    0
    Trophy Points:
    225
    Digital Goods:
    2
    #15
    If your site uses Wordpress then consider switching to AMP or at least installing a plugin like Hummingbird and utilize it's features to mini js/css..etc.. These will both surely help!
     
    FPForum, Sep 17, 2021 IP