• Complain

Ivan Curic - Front-end Performance

Here you can read online Ivan Curic - Front-end Performance full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: SitePoint, genre: Romance novel. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Ivan Curic Front-end Performance

Front-end Performance: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Front-end Performance" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Performance simply matters. Technology may allow us to go bigger, but maybe not necessarily be better when it comes to performance. Now is the time to utilize the amazing tools that are available for making websites faster, and to learn how to improve user experience and satisfaction.

This is a practical collection of tutorials on front-end website performance for web developers. Its packed with useful, real world hints and tips that you can use on your sites today. It contains:

  • Which Browsers Should Your Website Support? by Craig Buckler
  • Are Your WordPress Themes Flexible or Fast? by Maria Antonietta Perna
  • Five Techniques to Lazy Load Images for Website Performance by Maria Antonietta Perna
  • Optimizing CSS: ID Selectors and Other Myths by Ivan Curic
  • Optimizing CSS: Tweaking Animation Performance with DevTools by Maria Antonietta Perna
  • Lightning Fast Websites with Prefetching by Maria Antonietta Perna
  • Optimizing Web Fonts for Performance: the State of the Art by Maria Antonietta Perna
  • JavaScript Performance Optimization Tips: An Overview by Ivan Curic
  • 7 Performance Tips for Jank-free JavaScript Animations by Maria Antonietta Perna
  • What Is a CDN and How Does It Work? by Bruno Skvorc

This book is for all front-end developers that want to build sites and apps that run faster. Youll need to be familiar with HTML and CSS and have a reasonable level of understanding of JavaScript in order to follow the discussion.

Ivan Curic: author's other books


Who wrote Front-end Performance? Find out the surname, the name of the author of the book and a list of all author's works by series.

Front-end Performance — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Front-end Performance" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Chapter 1: Which Browsers Should Your Website Support?
by Craig Buckler

The question "which browsers should my website/app support?" isoften raised by clients and developers. The simple answer is a list ofthe top N mainstream applications. But has that policy becomeirrelevant?

What are the Most-used Browsers?

The top ten desktop browsers according toStatCounter for May 2017 were:

  1. Chrome 59.37% market share
  2. Firefox 12.76%
  3. Safari 10.55%
  4. IE 8.32%
  5. Edge 3.42%
  6. Opera 1.99%
  7. Android (tablet) 1.24%
  8. Yandex Browser 0.48%
  9. UC Browser 0.41%
  10. Coc Coc 0.33%

Mobile now accounts for 54.25% of all webuseso we also need to examine the top ten phone browsers:

  1. Chrome 49.23%
  2. Safari 17.73%
  3. UC Browser 15.89%
  4. Samsung Internet 6.58%
  5. Opera 5.03%
  6. Android 3.75%
  7. IEMobile 0.68%
  8. BlackBerry 0.26%
  9. Edge 0.15%
  10. Nokia 0.12%

The worldwide statistics don't tell the whole story:

  • Patterns vary significantly across regions. For example, Yandex isthe second most-used Russian browser (12.7% share). Sogou is thethird most-used browser in China (6.5%). Opera Mobile/Mini has a 28%share in Africa.
  • New browser releases appear regularly. Chrome, Firefox and Operareceive updates every six weeks; it would be impractical to checkversions going back more than a few months.
  • The same browsers can work differently across devices and operatingsystems. Chrome is available for various editions of Windows, macOS,Linux, Android, iOS and ChromeOS, but it's not the same applicationeverywhere.
  • There is an exceedingly long tail of old and new, weird andwonderful browsers on a range of devices including games consoles,ebook readers and smart TVs.
  • Your site's analytics will never match global statistics.
Are Browsers So Different?

Despite the organic variety of applications, all browsers have the samegoal: to render web pages. They achieve this with a rendering engineand there is some cross-pollination:

  1. Webkit is used in Safari on macOS and iOS.
  2. Blink is a fork of Webkit now used in Chrome, Opera, Vivaldi andBrave.
  3. Gecko is used in Firefox.
  4. Trident is used in Internet Explorer.
  5. EdgeHTML is an update of Trident used in Edge.

The majority of browsers use one of these engines. They're differentprojects with diverse teams but the companies (mostly) collaborate viathe W3C to ensure new technologies are adopted by everyone in the sameway. Browsers are closer than they've ever been, and modern smartphoneapplications are a match for their desktop counterparts. However, no twobrowsers render in quite the same way. The majority of differences aresubtle, but they become more pronounced as you move toward cutting-edgetechnologies. A particular feature may be fully implemented in onebrowser, partially implemented in another, and non-existent elsewhere.

Can My Site Work in Every Browser?

Yes. Techniques such as progressive enhancement (PE) establish abaseline (perhaps HTML only) then enhance with CSS and JavaScript whensupport is available. Recent browsers get a modern layout, animatedeffects and interactive widgets. Ancient browsers may get unstyled HTMLonly. Everything else gets something in between. PE works well forcontent sites and apps with basic form-based functionality. It becomesless practical as you move toward applications with rich custominterfaces. Your new collaborative video editing app is unlikely to workin the decade-old IE7. It may not work on a small screen device over a3G network. Perhaps it's possible to provide an alternative interfacebut the result could be a separate, clunky application few would want touse. The cost would be prohibitive given the size of the legacy browseruser base.

Site Owner Recommendations

Site owners should appreciate the following fundamentals and constraintsof the web.

  • The web is not print! Your site/app will not look identical everywhere. Each device has a different OS, browser, screen size, capabilities etc.
  • Functionality can differ Your site can work for everyone but experiences and facilities will vary. Even something as basic as a date entry field can has a diverse range of possibilities but, ideally, the core application will remain operable.
  • Assess your project Be realistic. Is this a content site, a simple app, a desktop-like application, a fast-action game etc. Establish a base level of browser compatibility. For example, it must work on most two-year-old browsers with a screen width of 600 pixels over a fast Wi-Fi connection.
  • Assess your audience Don't rely on global browser statistics. Who are the primary users? Are they IT novices or highly technical? Is it individuals, small companies or government organisations? Do they sit at a desk or are they on the move? No application applies to everyone concentrate on the core users first. Examine the analytics of your existing system where possible but appreciate the underlying data. If your app doesn't work in Opera Mini, you're unlikely to have Opera Mini users. Have you blocked a significant proportion of your market?
  • Change happens It's amazing that a web page coded twenty years ago works today. It won't necessarily be pretty or usable but browsers remain backward compatible. (Mostly. The tag can stay dead!) However, technology evolves. The more complex your site or application, the more likely it will require ongoing maintenance.
Web Developer Recommendations

With a little care it's possible to support a huge variety of browsers.

  • Embrace the web! The web is a device-agnostic platform. Content and simpler interfaces can work everywhere: a modern laptop, a feature phone, a games console, IE6, etc. Learn the basics of progressive enhancement. Even if you choose not to adopt it for your full application, there will be pockets of functionality where it becomes invaluable.
  • Adopt Defensive Development Techniques Consider the problem before reaching for the nearest pre-written module, library or framework. Understand the consequences of that technology before you start. Frameworks should provide a browser support list because they have been tested in limited number of applications. Learn about browser limits and quirks. For example, if you're considering an SVG chart, be aware that it can look odd in IE9 to 11 and fail in IE8 and below. That doesn't mean it's a binary choice of rejecting SVGs or abandoning IE support. There are always compromises which do not incur significant development. For example:
    • accept SVG rendering is weird but it remains usable
    • only show a table of data in IE, or
    • provide an SVG download which IE users can open elsewhere.
  • Test early and test often You cannot possibly test every device, but developing for a single browser is futile. Continually test your project in a variety of applications. Leaving testing to the end will have catastrophic consequences. It's easy for us to blame tools and browser inadequacies, but the majority of issues can be rectified during the development process if they're spotted early. That's not to say everything must work identically in every browser every time. Feature regressions are inevitable. For example:
    • Progressive Web Apps do not work offline on iPhones and iPads but online operation is fine.
    • CSS Grid is not supported in IE but float, flexbox or full-width block fallbacks should be acceptable.
    • The desktop edition of Firefox does not show a calendar for date fields but users can still enter one.
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Front-end Performance»

Look at similar books to Front-end Performance. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Front-end Performance»

Discussion, reviews of the book Front-end Performance and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.