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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 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

     
  2. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    10:19 PM
    Mainline
    10.2
    Yes, monthly plan is not suitable.
    I prefer pay as you go plan :).
     
  3. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 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 :)
     
  4. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    10:19 PM
    Mainline
    10.2
    I don't see the benefit of Monthly plan :)
     
  5. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 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 Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    10:19 PM
    Mainline
    10.2
    Haha OK there goes the monthly plan :D
     
  7. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    10:19 PM
    Mainline
    10.2
    By the way, Why did you disable Gzip on your settings on KeyCDN?
     
  8. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 10.x
    Nginx already gzips static assets so that is passed onto the CDN anyway :)
     
  9. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    10:19 PM
    Mainline
    10.2
    Ok, Just disabled mine also :)
    Thanks!
     
  10. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 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
     
  11. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 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
    24
    8
    May 28, 2014
    Ratings:
    +27
    Local Time:
    10:19 AM
    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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 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 Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    10:19 PM
    Mainline
    10.2
    Philippines Visitor? I think only me :D
     
  15. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 10.x
    there's a few unless you have multiple IPs hehe
     
  16. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    10:19 PM
    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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 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 Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    10:19 PM
    Mainline
    10.2
    Cache Hit rate is 90.28%
     
  19. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 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 :)
     
  20. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    10:19 PM
    Mainline
    10.2