Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Responsive Layout and Speed Review

Featured Replies

I have been working on my personal website and would very much appreciate your thoughts on the speed of the site and how the site renders on different screen sizes.

 

I am a Drupal developer and have built the site with just three contributed modules. This is a bit of an exercise to be honest to see how far I can get with Drupal "out of the box" with a faster responsive theme.

 

The site is garypratten dot co dot uk

In terms of performance there's a lot you can optimise. You should be combining and minifying your css and scripts first off.

 

I ran a couple of tests and >50% load time is just loading CSS. You have 17 separate http requests for ~60Kb of css.

 

Scripts too. I'm seeing 11 requests totalling 223.7 kB, though this only accounts for 30% of load time.

 

Design-wise, it's looking good though you do have an issue with input boxes blowing out at lower res. You should set a max-width on the inputs. Personally, I also find navigation at the top to be a nuisance on small screens, as I want to see content first, not nav, but that's more of a usability issue than anything else.

 

I love the 'out of the box' ethos, it's one I am very much in favour of. Keep up the good work :)

  • Author

Thanks so much for your reply Inspired, really helpful. With regards to the load time I have now aggregated and compressed the CSS files so hopefully this will now reduce the size and the number of requests made to the site.

 

I have done the same for Javascript files too. As part of core as a front end setting I can also cache pages and blocks, do you think this will help?

 

There is a module that allows for static page caching but for this (as noted above) I will not be installing any more contrib modules. Could you also expand a little more if you have the time please with regards to the input boxes blowing out at lower res. I can't see an issue at first glance anyway.

 

Thanks again so much for your time on this any any further advice and help would be very much appreciated.

No problem. Big improvement in load :)

 

css - <30% of load time and 12.5kb

 

Check the page analysis at http://tools.pingdom.com/ if you want to find some more targets for optimisation. You'll notice what a hidden burden social links can be :)

 

See this shot: blowout.png

 

You can fix that with just:

 

input, textarea {max-width:100%;}

loads quickly for me and re-sizes too. To be honest you could probably put a lot more content in the form of images and videos in there and there would not be a load problem.

  • Author

Thanks for the kind feedback again Inspired and for the link to pingdom, look like a great tool! I see what you mean about the social links. I guess that's the issue with a lot of these tools, hubspots grader tool for instance grades my site 10 less out of 100 for not having the social links ahh!!!!! :)

There are lighter ways to do socials. I used adapted these for my rant site: http://builtbyboon.com/blog/simple-social-sharing-buttons I made them lighter by ditching the images from Boon's example code and using a font instead.

 

For an example of the buttons, and an argument against throwing on loads of images and videos, see my recent related rant: http://resolutely.me/posts/dont-forget-mobile

loads quickly for me and re-sizes too. To be honest you could probably put a lot more content in the form of images and videos in there and there would not be a load problem.

 

Quick is subjective. I'm happy when it's fast over a crappy 3G connection.

  • Author

Hi DigitalYak, thanks for the kind comments. I totally agree with you on that one and if it were a site for a client then I would be adding more visually appealing stuff. The main reason I have not is because it is my own personal site. It not really for promoting my services greatly, more for me to add my own interests and store information that is important to me.

 

The project for me with the site is more content based and to create a site that will perform well in search engines and give the user a better experience (even over a crappy 3G connection lol) by using a CMS "out of the box" with only three contributed modules. Most importantly for me too is for the site to be fast as possible whilst doing everything I need it to do, as well as being as display friendly as possible!

 

Like I have mentioned it is an exercise for me and I plan to use my findings to help me further improve my company sites as well as clients.

Edited by mylocaltrades

  • Author

Thanks Inspired, your image just appeared! I will sort that now. Can I ask which browser or device you were using for that? Also would you be so kind as to check it now :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.