Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Mary O'Gorman
1,482 PointsWould anyone have any suggestions on how to get this site (www.pocketfulofdublin.com) to load faster?
Pocketful of Dublin was a project, I am not a developer so the code is messy. If anyone has any courses they would recommend that would help let me know.
6 Answers

Robert Komaromi
11,926 PointsTake a look at the Web Optimization course. Look into image compression tools and loading your external resources from CDNs (content delivery/distribution networks). Use breakpoints and the <pre>console.log()</pre> function in your JavaScript code to eliminate any unnecessary code loops that could slow down your page.

Mary O'Gorman
1,482 PointsHi Robert,
Thanks for your reply. I will look into that course.

Marko Koron
20,658 PointsThis waaaay to slooow. There are a lot of mp4 and mp3 files loading and preventing the pages to fully load. It looks nice with does videos but it would be better if the pages would load faster with images instead of does videos. I bet that a lot people give up after 30 seconds. It also depends on were your pages are hosted and if you are using some cheap hosting plan there is not much that can be done. Revisit the page and take away some sounds, videos, start the videos when the user clicks on them, maybe transfer some videos on Youtube, move all your Javascript and jQuery at the bottom of the page.

Mary O'Gorman
1,482 PointsHI Marko,
Thanks for your input. Yeh, think in order for it to viewed I will have to rethink it. It was a group project and we wanted to push the boundaries. I think in order to get it working smoothly the way we wanted it is beyond my means anyways. I figure I will have a look at changing the videos to vimeo or another type of hosted player and hopefully that will improve things. I also know my code isn't very neat so will take time and rework it.

jeremywhiteford3
13,297 PointsHi Mary,
Have you tried using PageSpeed (for Chrome dev tools or Firebug)? It will give you a quick run down on what's making the site slow. That's where I first start to make sites faster. From there I'll check to see how they do with another Google tool.
If I have time to really try to speed a site up I'll use other tools (sorry I have them bookmarked on my work computer only).
Some of the descriptions Google gives are pretty difficult to understand. My absolute favorite site for making your site faster with easy to understand language as well as free tools is feedthebot. The author, Patrick Sexton is very easy to understand have many helpful pages on his site.

Mary O'Gorman
1,482 PointsHi Jeremy,
That's great thanks for leaving a comment. I checked those out and they seem very useful. It's great getting such good advice from people.