Welcome to Bucaro TecHelp!

Bucaro TecHelp
HTTPS Encryption not required because no account numbers or
personal information is ever requested or accepted by this site

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact RSS News Feeds News Feeds

Optimizing the Order of Scripts and Styles

This article shows you two easy-to-implement yet high-impact techniques for speeding up your web pages.

Most web browsers will serialize the download of script files, so we need to to be careful about the order in which script files are included.

A script included before a CSS file may cause the browser to block. However, simply moving the style above the script allows them to load in parallel. So if you have an external script and an external CSS file, always include the CSS file before the script, so that they will download in parallel.

Inline script tags, even though they don't download anthing, may prevent subsequent resources from downloading in parallel with a CSS file. For example if an inline script block is placed between an included style and an included script, it serializes the downloads. If the inline script block is moved above the style, parallelization is restored.

Watching for serialization points in the browser is an important technique for speeding up your web page.

More Web Design Coding Issues:
• Six Ways to Center an Element on a Webpage
• Set Up a Freefind Search Box on Your Website
• Seven WordPress Security Tips
• Syndicate your own content Using aspSyndicator
• Update Your Entire Website Instantly Using Server Side Includes (SSI)
• Website Updates are a SNAP With Server Side Includes
• Create a Simple, Effective PHP Form for Your Web Site
• Web Designer's Reference
• Web Design Troubleshooting Guide
• Four Must-Have Webpages That Add Website Security

RSS Feed RSS Feed

Follow Stephen Bucaro Follow @Stephen Bucaro


Fire HD
[Site User Agreement] [Privacy Policy] [Site map] [Search This Site] [Contact Form]
Copyright©2001-2019 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268