Category: General

Standard URLS Called by Websites for DNS Prefetching

There are many articles out there on how DNS prefetching works so I will keep it brief.

It works by adding a link to the head of your web page with a relationship of ‘dns-prefetch’ and the url of a domain which holds assets needed for the page to load. That could be a cdn for the site, a social plugin or anything else.

Without prefetching, a browser will render the page top to bottom and when it gets to an asset which needs to be loaded from another domain it performs a dns lookup to find the location of the host and then downloads the assets. By adding prefetching links we are letting the browser know that these domains will be used before the assets are requested. Browsers can then loook up the hosts whilst rendering the rest of the page, cutting out this step when the assets are needed leding to a shorter download time.

This process is non-blocking and will only be performed when possible. For example, on a small page requesting an asset from another site high in the head of the document, it’s likely that the asset will be loaded before there is a chance to prefetch the dns.

The point of this article is to list domains used by common services for easy future reference.

Continue reading “Standard URLS Called by Websites for DNS Prefetching” ››

Magento Site Performance Optimization: Book Review

I’ll first start by saying that the title of this book can be somewhat misleading. The author (Mathieu Nayrolles) has written a previous book with the title ‘Instant Magento Performance Optimization How-to’ and from his personal website it looks like the original title for this book was to be ‘Magento Performance Optimization Volume II’ which followed on from that book.
Whilst the optimization techniques in the book are tested on a Magento installation, the same techniques could generally be used on any PHP/MySQL application.

Continue reading “Magento Site Performance Optimization: Book Review” ››

Last Chance for Packt Publishings $10 for Any Ebook Offer

Packt Publishing are celebrating 10 years in the IT publishing industry by offering unlimited ebooks or videos for $10 each for 10 days.

The offer started on the 26th of June which means tomorrow (July 5th) is the last day of the offer.

Some of the latest Joomla specific books include:

Joomla! 3 Beginner’s Guide Second Edition
Joomla! 3 Template Essentials (Dec 2013)
Learning Joomla! 3 Extension Development-Third Edition (July 2013)

They also have extension specific books, and a wide range of general php development books.

All books are DRM free and come in a range of formats with sample code downloads available.

Only 24 hours left so don’t miss out!

Click here to check out the ebook and video range

Last Day for Buy One Get One Free Offer – Packt Ebooks

Packt Publishing are celebrating their 2000th book title with a ‘Buy One Get One Free’ offer across all eBooks on March 18th – for a limited period only.

That limited period ends today 26th March 2014 so it’s the last chance to pick up some bargains.

They have over loads books on Joomla. Many of them are based on Joomla 1.5 (Joomla Security springs to mind here) but there are also plenty of 2.5/3 books and also an upcoming book on Joomla 3.5.

If you prefer your books made out of paper then there is also a reason to take advantage of this offer. When you have purchased an ebook, you can upgrade it to a paperback through your account with a 50% discount. Effectively  25% of all paperback books.

Search the Books

 

Using Google’s Data Highlighter Tool

For a while now in Google webmaster tools there has been an option under the ‘optimization’ tab called ‘Data Highlighter’. This is their new attempt at an alternative to structured data (or another way to add it without changing the structure of your pages).

It is essentially a wizard interface to get Google to understand your pages better than they do right now.

Continue reading “Using Google’s Data Highlighter Tool” ››

A New Solution to FOUT (Flash of unformatted text)

Adobe recently released their ‘blank font’. It is essentially a font which contains no glyphs and is basically a css hack to stop the flash of unformatted text when using webfonts.

I wrote a long time ago about how to cache the font files when using @fontface. That method can be used in conjunction with this to create the best user experiance for your site.

Continue reading “A New Solution to FOUT (Flash of unformatted text)” ››

Protecting Email Address Links from Website Scrapers

Spam mail is an unfortunate fact of life. The more things we sign up for, the more our addresses get sold as marketing lists. There is one area where we can try and minimise the collection of email addresses though and that is when pasting them on a website.

These days, content management systems such as Joomla automatically protect email addresses by obfuscation (or – making something harder to understand). They do this by breaking up the email address into parts and then putting it back together using javascript. This generally works on the assumption that scrapers do not have javascript enabled. Unfortunately spammers tend to be quite savvy coders and usually find a work around for most things. So how can we protect a standard website?

Continue reading “Protecting Email Address Links from Website Scrapers” ››

Adding Twitter Meta Tags

Last month (April 2013) Twitter announced the introduction of a new set of meta tags known as ‘Twitter Cards’. Adding these tags to your site allows extra information such as an image and description to be attached to any tweet which contains a url of a page on your website.

You can read the twitter article on the subject here.

As twitter falls back to opengraph tags, not all of the tags are needed if you already have Facebook opengraph tags on your website.

Continue reading “Adding Twitter Meta Tags” ››

Intelligent Contact Forms and HTML5 Local Storage

Contact forms are supposed to make it easy for users to ask a question or just get in touch.

These days, with all the captcha and anti-spam methods attached, the chances of a form being filled in incorrectly and not being sent is highly likely. The number of people using mobile devices who might loose a connection and thus, information already entered is also rising. Hell, even clicking the wrong button and going to a different page will usually wipe all the information that has been entered into a form and make you have to re-enter it, or worse, not bother and give up.

So what can we do to make forms more user friendly? Localstrorage to the rescue!

Continue reading “Intelligent Contact Forms and HTML5 Local Storage” ››

Website Internationalization and Alternative Language Links

I was recently asked a couple of times about international SEO and targeting websites with similar content at the correct people without just serving up a duplicate site.

The most obvious example of this is a .com website which is meant for American audiences and .co.uk which is meant for England, but it could also be a ‘uk’ sub-domain of the .com and potentially a completely different website using a different brand name as the domain name. The content of these websites might be practically the same apart from an address and contact number. So how do we make sure that the correct site gets sent to the right users?

Continue reading “Website Internationalization and Alternative Language Links” ››