Red Deer & Blackfalds Web Design Writes:
It can be hard in Web Development sometimes for Small Business to ensure that your site is running as fast as possible. The following is a short article and presents three tips for making sure that your On Page Speed is running as smoothly as possible:
- Picture Sizes/DPI – part of being a good Developer & Designer is knowing just what types of images to use on a website. The most common software for manipulating pictures is Adobe Photoshop. Becoming familiar with this software and knowing how to make quick edits will allow you to ensure that the images you are using are set to the standard 72 DPI (dots per inch) as well as the correct height and width for your intended purpose. If the image slot you have is 500px by 600px, then loading in an image that is 3500px by 4200px will only force your browser to load the full image, crop it, and then place it (taking up valuable load time).
- Simple CSS – a common mistake when writing CSS is to use too many lines of code, and as opposed to changing existing code just using “!important” tags to overwrite rules. These have their place and value (especially if using Child Themes in WordPress); however, for the most part try to compile Classes and ID’s into groups that contain the same CSS in order to eliminate extra lines that produce the same value.
- PHP Templates – venturing into the world of PHP template files (commonly used in CMS websites), this can expedite the process of manipulating the layout of individual pages (for example: blog post pages, regular pages, form pages, etc…) by manipulating only one file as opposed to the various that may be created, especially if running a website with a blog whereby content can be added quite frequently. Manipulating only a single PHP file (for example, the “single-post.php” in WordPress) it will edit the layout of all pages created according to that template, thereby reducing editing time and allowing you to make large scale edits for On Page Speed according to the needs of your individual website.
There are obviously a greater amount of items to keep in mind when considering load time of individual pages on a website. The items listed above are just a few simple things you can do today to make sure your Small Business Website is running as smoothly as possible.