6 Different Ways To Decrease Your Page Load Time
Computers & Technology → Internet
- Author Mark Kostner
- Published April 16, 2010
- Word count 535
On a 56k connection a Webpage loads within 8 seconds. The following methods are all ways you can speed up your page load time.
-
Webpages that use JavaScript are programmed with the script at the top of the document. Due to this until the JavaScript is has fully loaded the page can't be seen. If the JavaScript is placed at the bottom of the document the visual content will load first which will cut out some of the load time. The page will still be loading when it is viewable within the browser but the user will be unaware of this.
-
Loading in external documents such as style sheets or JavaScript files can also increase a page's load time. Including them in the html file decreases the readability of the code for a programmer but does lessen the load time of the page significantly. When you've got your website working correctly, take some time to copy paste external code into the main document.
-
There are three main formats of graphic that are used for webpages. These comprise of: Portable Network Graphics (png), Joint Photographic Experts Group (JPEG) and Graphics Interchange Format (gif). Deciding on a format that both retains the quality of the graphic and lessens the file size is very important. A gif type image is the smallest format so if your graphics only contain a small number of colours then this would be the primary choice. JPEGs can be adjusted to vary in quality, you should aim for the lowest quality possible without compromising the quality of the image. PNGs can provide images with transparent backgrounds but have a bigger file size than the two previous formats. An additional image format is Bitmap (bmp), which are very large files that retain the full quality of the image. Fast loading webpages shouldn't contain any images of this file type.
-
A minimal use of images, in particular animated gifs will also decrease page load time. Animated gifs are made up of more than one image and therefore have a greater file size. The lower the file size of the externally loaded graphic, the faster the page will load. The quantity of images being loaded is also worth noting as it also effects page load time.
-
Flash animations or swf files are more common these days than animated gifs. However they're file size is considerably bigger than that of animated gifs. They should only be used on a page where absolutely essential. It is worth considering using an animated gif in oppose to a swf if your animation is short and doesn't require any user interaction. However if your animation requires audio a gif won't be appropriate. The use of swfs will also require additional code to check if the user has a flash player installed. Further code equates to a greater file size and is therefore another reason to only use swfs where necessary.
-
It is advisable to combine separate images where you can to lessen page load time. The overall file size of two separate images will be more than that of one. The more graphics the page needs to load the more http requests it needs to execute and this also increases loading time.
Mark Kostner has been building websites since 2004 and runs http://www.buildingwebsitesmadesimple.com, showing everyday people how to make a website
Article source: https://articlebiz.com
This article has been viewed 650 times.
Rate article
Article comments
There are no posted comments.
Related articles
- What is CCTLD?
- Gulf Website Hub Reveals Fresh Digital Solutions to Enhance Dubai's Expanding Market.
- Embrace Multi Graphics Inc. Expands Services to Meet Growing Demand in Digital Marketing, Design, and Printing
- Website Development Trends in 2025
- Viewing Instagram Stories Without an Account: Imginn Viewer Insights
- How to Find, Use, and Manage BitLocker Recovery Keys on Windows 10/11
- Building a Professional Website on a Budget: Using Free Tools like WordPress and AI
- Ava Labs CEO On Why You Shouldn't Ignore Red Flags In The Industry
- Cyberbullying: Empowering Families to Safeguard Their Kids
- 10 Common Online Scams to Avoid: Protecting Your Identity and Finances
- Spring Break and Staying Secure Online: An Internet Safety Guide for College Students
- Unveiling the Future: The 10 Revolutionary Trends Shaping Small E-Commerce Businesses in 2024
- Unlocking Online Content with YouTube Video Downloaders
- Unleashing the Potential of Online Earning: A Comprehensive Guide
- Navigating Success in the Digital Realm: Unveiling the Power of Digital Marketing
- How AI Will Affect the Future of Search
- Maximizing Business Efficiency: The Strategic Role of Business Intelligence with DataInseyets
- Cyber Resilience in the Age of AI
- Harnessing the Power of AI & Blockchain for Data Security and Transparency
- AI Ignites 6G Advancements in Wireless Technology
- How AI is Revolutionizing Content Writing
- What You Need to Know About Writing Prompts
- The Remarkable Ways to Use the AI-Powered Chatbot
- Where Will AI Take Us in 2024?
- AI Written Content Creation Trends for 2024
- Will AI-Linked Cryptocurrency Sector Thrive in 2024?
- Is AI Regulation vs AI Deregulation a Real Concern?
- Prompt Engineering: A Beginner's Guide to Prompt Engineering
- Balancing Innovation and Regulation of AI in the Future
- Crafting AI Short-Form Content: The Future of Digital Marketing