Get the most out of your Centmin Mod LEMP stack
Become a Member

Nginx PageSpeed If I'll try to use CDN

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by rdan, Aug 18, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yeah i like KeyCDN pricing US$0.04/GB pay as you go. So many CDN providers are moving to monthly packages which for some folks and usage could provide certainty as to costs, but for smaller usage sites it is expensive. MaxCDN and CDN77 I use both moved to monthly prices so only keep them around for testing for clients and myself to ensure I am familiar with their offerings. CDNify definitely will try as well but seems KeyCDN has what I need for now :D
     
    • Like Like x 1
  2. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    7:51 AM
    Mainline
    10.2
    Yes, monthly plan is not suitable.
    I prefer pay as you go plan :).
     
  3. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    would be great if CDN providers offered both, pay as you go with option to upgrade to monthly plans. Even better make it an option to set a preset threshold for costs as to when you switch from pay as you go to monthly. i.e. if your pay as you go cost reaches US$10/month auto switch to monthly plan etc :)
     
    • Like Like x 1
  4. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    7:51 AM
    Mainline
    10.2
    I don't see the benefit of Monthly plan :)
     
  5. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    certainty in costs.. what happens if you get a burst of traffic consuming 100TB of bandwidth ? do you have US$4 million to pay for it on pay as you go ? :D
     
  6. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    7:51 AM
    Mainline
    10.2
    Haha OK there goes the monthly plan :D
     
  7. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    7:51 AM
    Mainline
    10.2
    By the way, Why did you disable Gzip on your settings on KeyCDN?
     
  8. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Nginx already gzips static assets so that is passed onto the CDN anyway :)
     
    • Like Like x 1
  9. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    7:51 AM
    Mainline
    10.2
    Ok, Just disabled mine also :)
    Thanks!
     
  10. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    you're welcome

    Using Google Analytics to track avg page load and dom interactive times for top 4 countries

    ga_dashboard_avpagedom_trends_00.png
     
    • Like Like x 1
  11. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    hmm Canada doesn't seem to be fairing that well with CDN but hard to gauge as 75% of visitors are new sessions so tracking mainly new visitor performance. So added new vs returning visitor averages too

    ga_dashboard_avpagedom_trends_01.png
     
  12. Peter Downey

    Peter Downey Member

    64
    23
    8
    May 28, 2014
    Ratings:
    +26
    Local Time:
    7:51 PM
    This thread really turned quite epic. So much good information inside.George is there a way on the forums to mark a thread in my account to return back to later? Like a favorites section or something? I'd love to tinker with this when I have more free time.
     
  13. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    each thread near mid top right has a watch thread link which you can set without email notification ;)

    Then top navigation link to https://community.centminmod.com/watched/threads has them all listed
     
  14. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    7:51 AM
    Mainline
    10.2
    Philippines Visitor? I think only me :D
     
  15. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    there's a few unless you have multiple IPs hehe
     
  16. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    7:51 AM
    Mainline
    10.2
    Dynamic IP :D

    By the way i smell something fishy :D

    When I'm using CDNify, my first day only consume 3GB but with KeyCDN for my first day it already consumes 5GB+
    I'll keep on observing.
     
  17. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    check your cache hit rates too.. but keyCDN is missing alot of stats in their control panel so might need to export the log to dig deeper
     
  18. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    7:51 AM
    Mainline
    10.2
    Cache Hit rate is 90.28%
     
  19. eva2000

    eva2000 Administrator Staff Member

    41,648
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    9:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    I'm at 67% hit rate heh but this week is big - highest traffic numbers so far with record traffic coming from Google :)
     
    • Like Like x 1
  20. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    7:51 AM
    Mainline
    10.2