Results 1 to 12 of 12
  1. #1
    PROFRBcom's Avatar
    PROFRBcom is offline Private Member
    Join Date
    April 2013
    Posts
    2,169
    Thanks
    1,509
    Thanked 1,243 Times in 808 Posts

    Default Hosting Images On a Different Domain?

    I read once that hosting images on a different domain could be a faster way to serve images to a user and a faster way to paint the website.

    Example:
    www contentwebsite com
    www imagewebsite com

    Content on contentwebsite com/somepage would look like:

    <p>This is a paragraph blah blah</p>
    <img src="www imagewebsite com/this-is-an-image>

    If one had a super fast web provider for both sites, but perhaps different hosts such that:
    www contentwebsite com is on say, GoogleCDN
    www imagewebsite com is perhaps on FASTLY CDN

    The theory here is that the css, js, content is served from one set of servers and the images from another.

    Would this result in serving pages and painting pages faster to the end user?
    https://professionalrakeback.com

    We write excellent long-form content for other webmasters, for free.
    How can we work together on a win/win deal? Be creative!

    I love all links, even NoFollow links!

    Lots of open positions available, PM me:
    • Poker Site Reviewer
    • Casino Site Reviewer
    • Sports Site Reviewer
    • Investigative Reporter
    • Poker Software Reviewer
    • Live Poker Venue Reviewers in US, CA, AU
    • Poker Book Reviewer
    • Drupal Developer
    • Forum Moderators
    • Twitch Poker Streamers

  2. #2
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    33,155
    Thanks
    4,215
    Thanked 9,007 Times in 5,771 Posts

    Default

    In some cases hosting on a different server can be faster, in some cases slower.

    If the route to the "other server" is slower then the route to your sever it will slow down the image load. If the server hosting the images is slower or higher overhead, it "can" slow down the image load.

    If the server serving the images is down, images will not show obviously, but depending on other factors, the [age might not finish loading properly.

    Rick
    Universal4

  3. #3
    PROFRBcom's Avatar
    PROFRBcom is offline Private Member
    Join Date
    April 2013
    Posts
    2,169
    Thanks
    1,509
    Thanked 1,243 Times in 808 Posts

    Default

    Quote Originally Posted by universal4 View Post
    In some cases hosting on a different server can be faster, in some cases slower.

    If the route to the "other server" is slower then the route to your sever it will slow down the image load. If the server hosting the images is slower or higher overhead, it "can" slow down the image load.

    If the server serving the images is down, images will not show obviously, but depending on other factors, the [age might not finish loading properly.

    Rick
    Universal4
    Yeah, I get that Rick.

    EDIT: Found a link that kinda relates my idea: https://developer.yahoo.com/performa...ml#cookie_free

    I'm not talking about ****** shared hosting here. I'm talking about finding out what CDN is the absolute best and hosting a domain solely for serving images from it whilst simultaneously hosting the main website sans images on another, super fast host w/CDN.

    So that the css, js, html is served from our site when someone hits our website, and something like uberfastimages.com serves the images. Assuming both CDN's were exactly the same speed, wouldn't this still speed things up by providing multiple http2 connections in the browser? Or am I misunderstanding this somehow?

    I'm trying to shave 300 ms off the load time of a site and not terribly concerned with cost of implementation.
    Last edited by PROFRBcom; 11 March 2020 at 10:29 pm.

  4. #4
    Sherlock's Avatar
    Sherlock is offline Public Member
    Join Date
    December 2013
    Location
    WC
    Posts
    4,855
    Thanks
    1,405
    Thanked 3,763 Times in 2,121 Posts

    Default

    I do that but for different reasons.
    If you have static website, just cache the one website.
    What you read is maybe old, advice from some 2usd hosting guy who had no space for images on shared server.
    If you talk to God, you are praying; If God talks to you, you have schizophrenia.

  5. #5
    ddm
    ddm is offline Former Member
    Join Date
    July 2006
    Posts
    1,125
    Thanks
    418
    Thanked 470 Times in 287 Posts

    Default

    the big WHY of CDNs fwiw

    User Experience: Without Cloudflare’s CDN, visitors geographically distant from your origin web server experience slow page loads. CDN serves your cached content to remove load from your origin web server.

    DDoS Protection: Distributed Denial of Service (DDoS) attacks disrupt websites by flooding their infrastructure with traffic. Cloudflare’s CDN has a network capacity 15 times bigger than the largest DDoS attack ever recorded and handles modern DDoS to ensure your website stays online.

    https://support.cloudflare.com/hc/en...oudflare-s-CDN


    @prof - u tried cloudflare man?

  6. #6
    PROFRBcom's Avatar
    PROFRBcom is offline Private Member
    Join Date
    April 2013
    Posts
    2,169
    Thanks
    1,509
    Thanked 1,243 Times in 808 Posts

    Default

    Quote Originally Posted by ddm View Post
    the big WHY of CDNs fwiw

    User Experience: Without Cloudflare’s CDN, visitors geographically distant from your origin web server experience slow page loads. CDN serves your cached content to remove load from your origin web server.

    DDoS Protection: Distributed Denial of Service (DDoS) attacks disrupt websites by flooding their infrastructure with traffic. Cloudflare’s CDN has a network capacity 15 times bigger than the largest DDoS attack ever recorded and handles modern DDoS to ensure your website stays online.

    https://support.cloudflare.com/hc/en...oudflare-s-CDN


    @prof - u tried cloudflare man?

    We use CF for DNS because it's faster. Or it was, looking at it tonight I'm not sure it's still in the top 3 fastest DNS servers. There was a website that tracked and compared this but I've lost the URL.

    Our provider hooks us into their CDN and AFAIK, we have one of the fastest hosts available. I'm not sure it is even possible to swap the CDN because of the technology involved.

    I just want to shave 300ms off of FCP and load time, but I'll settle for -300ms FCP if I can get it.

  7. #7
    Malikbhai is offline Private Member
    Join Date
    September 2017
    Posts
    786
    Thanks
    204
    Thanked 378 Times in 247 Posts

    Default

    Buy a Cloudinary plan and then use CNAME to make the image URL look like images.yoursite.com. It would be served from the CDN and will work as intended.

    Or, if you can manage the technicalities, just get an Amazon S3 bucket.

    CDN-hosted images are faster. Much faster, if you cannot implement full cache on your main website for whatever reason. If you can, then Cloudflare's cache-everything protocol will work just like a CDN.

  8. The Following User Says Thank You to Malikbhai For This Useful Post:

    ddm (12 March 2020)

  9. #8
    Malikbhai is offline Private Member
    Join Date
    September 2017
    Posts
    786
    Thanks
    204
    Thanked 378 Times in 247 Posts

    Default

    Personally, I wouldn't touch anything if the entire load time of your website is under 3 seconds. Sometimes going through this is not worth it.

    But, then again, I'm just a bricklayer, so what do I know.

  10. The Following User Says Thank You to Malikbhai For This Useful Post:

    ddm (12 March 2020)

  11. #9
    allfreechips's Avatar
    allfreechips is online now Private Member
    Join Date
    August 2010
    Location
    Ohio - The taxing state
    Posts
    1,370
    Thanks
    187
    Thanked 736 Times in 454 Posts

    Default

    Cloudflare CDN and lazy load JS to speed up the works, there are basic lazy loads or more advanced that only loads images in the veiwport. Very simple to use.
    Have Gaming Email Lists? Ask me how to convert them into multiple casino depositors! Allfreechips online casino guide offers online casino reviews from our members. Also our exclusive No Deposit casino bonuses are always up to date. See the latest slot machine reviews at Hotslot and exclusive no deposit casino bonuses as well with a good dose of daily online gambling news to learn about pokies

  12. The Following User Says Thank You to allfreechips For This Useful Post:

    ddm (12 March 2020)

  13. #10
    ddm
    ddm is offline Former Member
    Join Date
    July 2006
    Posts
    1,125
    Thanks
    418
    Thanked 470 Times in 287 Posts

    Default

    i wonder which gpwa'ers have the fastest sites, and which platforms they use. would be interesting to automate a little test =)

  14. #11
    TheGooner's Avatar
    TheGooner is offline Private Member
    Join Date
    March 2007
    Location
    New Zealand
    Posts
    4,508
    Thanks
    2,078
    Thanked 4,490 Times in 2,144 Posts

    Default

    Quote Originally Posted by PROFRBcom View Post
    Example:
    www contentwebsite com
    www imagewebsite com

    Would this result in serving pages and painting pages faster to the end user?
    Technically, I can't see HOW it would result in faster responses as having images and content on separate servers will result in far more background calls and overhead behind the scenes in order to serve up a page.

    However, if the single server was struggling to handle load with both content and images then it might be better?

  15. #12
    allfreechips's Avatar
    allfreechips is online now Private Member
    Join Date
    August 2010
    Location
    Ohio - The taxing state
    Posts
    1,370
    Thanks
    187
    Thanked 736 Times in 454 Posts

    Default

    My fastest siotes are the ones i programmed without any other crap such as WP / vbulletin.. Kills me AFC is really tied to vbulletin
    Have Gaming Email Lists? Ask me how to convert them into multiple casino depositors! Allfreechips online casino guide offers online casino reviews from our members. Also our exclusive No Deposit casino bonuses are always up to date. See the latest slot machine reviews at Hotslot and exclusive no deposit casino bonuses as well with a good dose of daily online gambling news to learn about pokies

Posting Permissions

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