Submit Your Article Forum Rules

Results 1 to 10 of 10

Thread: Image hosting - Same server or different server?

  1. #1
    Senior Member AjiNIMC's Avatar
    Join Date
    Aug 2004
    Posts
    281

    Image hosting - Same server or different server?

    Hi,

    Posting after a long time, need your urgent suggestion/experience.

    Purpose: I want to make my site load (even more) faster.

    Different Options

    1. Host images under the same domain - So no additional three way TCP handshake required.
    2. Different subdomain for images - Browser pipelining can be utilized.
    3. Different domain altogether - Browser pipelining can be utilize and also can avoid the site wide cookies with every request.



    What is your opinion about this?

    Thanks,
    AjiNIMC
    TechShu.com - Shu is one word that can serve as a principle of conduct for life - it means reciprocity. Do not impose on others what you yourself do not desire.’

  2. #2
    Senior Member
    Join Date
    Nov 2005
    Posts
    132
    I have heard about photobucket(.)com. It helps uploading images and videos. In case of many images you can take help of Flock Browser specially made by photobucket to upload images faster. You can share those images through other sites also.

    Don’t know this information would be of help for you or not. Just shared.

    Thanks

  3. #3
    Senior Member AjiNIMC's Avatar
    Join Date
    Aug 2004
    Posts
    281
    I have no issues with servers, we have many available but I wanted to get opinion on the policy that can speed up the load time.
    TechShu.com - Shu is one word that can serve as a principle of conduct for life - it means reciprocity. Do not impose on others what you yourself do not desire.’

  4. #4
    Moderator Tubby's Avatar
    Join Date
    Nov 2003
    Location
    Outback Queensland Australia
    Posts
    3,742
    I think it if simply a speed question, stay with the one server. just get as good a sever as you can

    I am experimenting with photohosters.com - on hosting images for a new site (southern-cross-register.sumpy.com. but this is certainly not a speed issue, it is a convenence issue. It allows my (and me)users to have full control of their images. I am also interested in the text and OBL's text links. It should also prove to be a time saver for me, as I need not handle the images. It also gives users submitting images, a better sense of freedom and control (this is an important factor for my users). I am also interested in comparisons between search engie approvals, of linking to off site images. (just playing around)

    There are a huge number of factors when deciding the many ways you can construct a web site, I can think of half a dozen reasons that would need to be 'balanced' . . I certainly do not have enough insight into your web site to offer any better than,stick with the one site if it is ONLY a speed issue.

    classic cars - directory - Southern cross Engines
    If Optimising for google gives you a headache? - try optimising your Users

  5. #5
    Senior Member AjiNIMC's Avatar
    Join Date
    Aug 2004
    Posts
    281
    Thanks Tubby for the reply.

    http://blogs.msdn.com/ie/archive/2005/04/11/407189.aspx has some good information on HTTP pipelining for IE (FF is similar in nature, only opera has 4 connections).

    I have done some experiments with https://addons.mozilla.org/en-US/firefox/addon/3371 on, there is certainly a big improvement.

    Looking forward for more replies.

    AjiNIMC
    TechShu.com - Shu is one word that can serve as a principle of conduct for life - it means reciprocity. Do not impose on others what you yourself do not desire.’

  6. #6
    Senior Member
    Join Date
    Nov 2005
    Posts
    132
    Turn on HTTP keepalives for external objects.

    Load fewer external objects.

    If your users regularly load a dozen or more uncached or uncacheable objects per page, consider evenly spreading those objects over four hostnames.

    When you generate a page, evenly spreading your images over four hostnames is most easily done with a hash function, like MD5. Rather than having all <img> tags load objects from http:(//)static(.)example(.)com/, create four hostnames (e.g. static0.example.com, static1.example.com, static2.example.com, static3.example.com) and use two bits from an MD5 of the image path to choose which of the four hosts you reference in the <img> tag. Make sure all pages consistently reference the same hostname for the same image URL, or you'll end up defeating caching.

    Possibly the best thing you can do to speed up pages for repeat visitors is to allow static images, stylesheets, and javascript to be unconditionally cached by the browser. This won't help the first page load for a new user, but can substantially speed up subsequent ones.

    Set an Expires header on everything you can, with a date days or even months into the future. This tells the browser it is okay to not revalidate on every request, which can add latency of at least one round-trip per object per page load for no reason.

    Instead of relying on the browser to revalidate its cache, if you change an object, change its URL. One simple way to do this for static objects if you have staged pushes is to have the push process create a new directory named by the build number, and teach your site to always reference objects out of the current build's base URL. (Instead of you'd use . When you do another build next week, all references change to .) This also nicely solves problems with browsers sometimes caching things longer than they should -- since the URL changed, they think it is a completely different object.
    Source: Optimizing Page Load Time

  7. #7
    Senior Member AjiNIMC's Avatar
    Join Date
    Aug 2004
    Posts
    281
    Thanks Susmita, I have already gone through these pages, also the RFCs. Just wanted to know first hand experiences to help me decide.

    Thanks for the reply.

    AjiNIMC
    TechShu.com - Shu is one word that can serve as a principle of conduct for life - it means reciprocity. Do not impose on others what you yourself do not desire.’

  8. #8
    Senior Member
    Join Date
    Nov 2005
    Posts
    132
    I have studied, learned and shared.

    Thanks to you also.

  9. #9
    Forgetting about all the technicalities involved, I'd prefer to host images on my own server where the site is hosted.
    Main reason is Control !! What if the other hosting site is down ?? It would look bad if your site is up and the images dont load. It would be better if the entire site is down.
    That is what I feel.......Iam not good on technical aspects but believe that Control must always be in our own Hands !!
    Madhav
    Hyderabad
    India

  10. #10
    Senior Member AjiNIMC's Avatar
    Join Date
    Aug 2004
    Posts
    281
    Using a simple softlink (with the same hosting server) and a robots.txt we can bring the manageability to the same level as method 1.

    I think the most optimized way of handling images/css/js is having another domain. Can you point any negative point (apart from manageability, we can do it easily with a softlink and robots.txt) with method 3?

    Thanks for the reply.

    Aji
    TechShu.com - Shu is one word that can serve as a principle of conduct for life - it means reciprocity. Do not impose on others what you yourself do not desire.’

Similar Threads

  1. backup local server to web server - recommend service or software?
    By Katt in forum Web Programming Discussion Forum
    Replies: 5
    Last Post: 11-09-2009, 01:26 PM
  2. Name Server Issue with Yahoo Hosting
    By Khurram007 in forum Hosting Issues
    Replies: 2
    Last Post: 11-26-2006, 07:24 AM
  3. Power up your Server; world's first vegetable powered server
    By TrafficProducer in forum The Castle Breakroom (General: Any Topic)
    Replies: 3
    Last Post: 12-21-2005, 02:58 PM
  4. Ranking and Hosting Server - Is there a connection?
    By armco in forum Search Engine Optimization Forum
    Replies: 8
    Last Post: 07-15-2004, 07:06 PM
  5. Looking for a new hosting server
    By Shanti in forum eCommerce Discussion Forum
    Replies: 7
    Last Post: 10-28-2003, 01:01 AM

Posting Permissions

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