Re: [php-49] Absolute vs Relative Paths

From: Tim P.
Sent on: Monday, November 5, 2012 2:37 PM
Quit hotlinking google images and that will fix it.



On Mon, Nov 5, 2012 at 2:35 PM, Garth Henson <[address removed]> wrote:
It is possible that this will make a difference, but it's generally negligible. Keep in mind that absolute links require an additional Apache process to resolve the domain name, etc. Relative links are handled in the same Apache process. So, if you have a TON of absolute URLs on your page, this could add up to a noticeable difference in latency to your page, but not to individual load times once the request has been made.

-GH


On Mon, Nov 5, 2012 at 2:20 PM, Eric Harris <[address removed]> wrote:
Hey Guys,

I am working on dealing with some slow loading images. I was suddenly struck with the thought of "Does absolute or relative paths, make a difference in load times?"

I did do some looking around, there are plenty of articles explaining the differences and such, but I could not find anything talking about load times, higher level pros/cons, or performance issues.

Anyone have an opinion on this topic?

Thanks,

-- Eric




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Eric Harris ([address removed]) from The Seattle PHP Meetup Group.
To learn more about Eric Harris, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Garth Henson ([address removed]) from The Seattle PHP Meetup Group.
To learn more about Garth Henson, visit his/her member profile

Our Sponsors

  • TUNE

    Meeting space and food

  • PluralSight

    PluralSight subscriptions for developer training

  • Siteground

    Information coming Soon

  • O'Reilly

    Disc Code: PCBW is good for 40% off print and 50% off ebooks and videos

  • JetBrains PhpStorm

    Occasional free licenses to raffle off at meetups

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy