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.

[Tip] Optimizing googles analytic script page load time

Discussion in 'Search Engine Optimization' started by Hello_Json, Sep 30, 2017.

  1. #1
    Hello World,
    With the recent updates required for contact pages, Ive moved everything over to CloudFlare. While digging around in there, I noticed they had a google app. While I was in the process of trying to optimize my site's page load time. I removed the tracking Javascript code from the site. It has always been a frustrating bottleneck in the past. Was going to try another method of tracking, to see if that would increase the site speed.
    SEMrush
    Until I tested the CloudFlare google analytic app. Its Wayyyy Quicker to just have them deal with it. Shaved off another 1/2 second because of it.

    TLDR: Setup CloudFlare, and use their Google app to reduce page load time. If the script is slowing down things.
     
    Hello_Json, Sep 30, 2017 IP
    SEMrush
  2. usman_khalid

    usman_khalid Member

    Messages:
    52
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    I was using a cloudflare but I thinks its a useless for me. so i remove it from my site.
     
    usman_khalid, Oct 6, 2017 IP
  3. iwebsocial

    iwebsocial Well-Known Member

    Messages:
    1,697
    Likes Received:
    67
    Best Answers:
    4
    Trophy Points:
    170
    #3
    Cloudflare too create headache for me. Its slow down my site. I just remove it and my site loading speed increase drastically. Cloudflare free option is just useless.
     
    iwebsocial, Oct 6, 2017 IP
  4. Hello_Json

    Hello_Json Peon

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #4
    I used to have the same problem, so i totally understand where you are coming from.
    You do have to spend some time optimizing it.

    2gb ram/2 core cpu
    900kb pages load super fast for INTL areas.
    (server is based in Texas)

    Around 1second for local.

    It's possible. Only using a digital ocean VPS and a free CloudFlare account.
     
    Hello_Json, Oct 8, 2017 IP
  5. Hello_Json

    Hello_Json Peon

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #5
    Here is my setup:

    Server:
    2gb ram/2 core cpu
    (server is based in Texas)

    Wordpress Plugins:
    Better Wordpress Minify
    Cloudflare Flexible SSL
    Google XML Sitemaps
    NoFollow Link
    Remove HTTP
    Schema App Structured Data
    Thrive Visual Editor
    WP Smush
    WP-Optimize
    WP SpamShield


    Cloudflare Setup:
    Page Rules
    Always use HTTPS http:// *domain. com/*
    (without spaces)

    HTACCESS file:


    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/html "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 1 month"
    </IfModule>
    ## EXPIRES CACHING ##


    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript
    </IfModule>


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>


    # END WordPress
     
    Hello_Json, Oct 8, 2017 IP