Website Performance Optimization

InspirationalFractal avatar
InspirationalFractal
·
·
Download

Start Quiz

Study Flashcards

31 Questions

What is website optimization according to Merriam Webster dictionary?

An act, process, or methodology of making something (as a design, system, or decision) as fully perfect, functional, or effective as possible.

Why is website optimization important?

To serve websites faster, ensure uptime, improve usability, reduce data transfer, lessen server load, and enhance user satisfaction.

What should we optimize on our website?

We should optimize for what the user is looking for, where they came from, what they want to know, and our goal for the user.

What are the three laws of optimization?

The text does not explicitly mention the three laws of optimization.

What are the steps in the website optimization process model?

Ideas, Prioritize, Test, Analyze, Optimize

What are the 5 server-side optimization methods mentioned in the text?

Content Delivery Network (CDN), Expires or Cache-Control header, G-zip components, Flush buffer early, Avoid empty image src

List 4 CSS optimization methods discussed in the text.

Put style sheet at top, Avoid CSS expressions, Choose 'link' over 'import', Avoid filters

Name 3 JavaScript optimization methods provided in the text.

Put scripts at bottom, Make the JavaScript and CSS external, Minify JavaScript and CSS

What is the purpose of Google PageSpeed Insights?

It measures how the page can improve its performance on Time to above-the-fold load and Time to full page load.

What are the key features of Yslow by Yahoo?

It offers suggestions for improving the page's performance, summarizes the page's components, displays statistics about the page, and provides tools for performance analysis.

What are the main capabilities of Firebug?

It can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page, inspect and edit HTML, visualize CSS metrics, monitor network activities, debug and profile JS, and quickly find errors.

Name 3 popular applications mentioned in the text.

Facebook.com, Google.com, Gmail.com

What is the future trend discussed in the text?

Mobile Optimized Websites

List 3 reasons provided in the text for optimizing websites for mobile phones.

Everyone is on mobile, Over half of the web traffic is mobile, Mobile users behave differently

What is the conclusion drawn in the text regarding website optimization?

It's a worthwhile endeavor as it offers better performance in the browser and on mobile, promotes better development practices, and has the potential to improve search engine ranking.

What is the full form of PHP?

Hypertext Preprocessor

Where do PHP scripts reside within HTML pages?

Between reserved PHP tags

How are PHP scripts executed?

On the server-side

What symbols are used for comments in PHP?

// for C++ and Java-style comment, and # for Shell-style comments

What is the naming convention for PHP variables?

Variables must begin with a “$” sign and are case-sensitive

What type of language is PHP?

PHP is an open-source, server-side scripting language used to generate dynamic web-pages.

What is the purpose of the PHP 'echo' command?

To output the parameters passed to it

How are strings joined into one in PHP?

Using a period

What is the format for arithmetic subtraction in PHP?

$a - $b

What is the purpose of the PHP 'include' command?

To insert files into the current code

How are local variables restricted in PHP?

To a function or class

What is the method for escaping double quotation marks in PHP strings?

Use the backslash ()

What is the purpose of the PHP 'date' function?

To display the date according to the specified format

What are the types of control structures in PHP?

Conditional (branching) and repetition structures

What is the format for defining PHP functions?

function functionName($arg_1, $arg_2, …, $arg_n)

How are global variables used in PHP?

They can be used anywhere

Learn about the importance of website optimization, the methods and tools for optimization, and future trends in website performance. Understand the three laws of optimization and what aspects to optimize on a website.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser