Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Local or external href for images. Which is better?

Local from server files ( href="/pictures/picture_name"): or Externally from url (href="http://www.website_name.com/image_name.jpeg"):

Locally loads images faster (usually), is more reliable (not prone to other site downtime), but at the cost of bandwidth.

Externally saves bandwidth, but is less reliable and can be slower.

Which method would you recommend?

1 Answer

I would recommend locally because it is faster, more reliable and if your website or internet is down, you can still view it on your local server.