What are “rc” files
config files
rc –> run commands
First Contentful Paint (FCP)
Time until the user sees an indication that the page is loading
Largest Contentful Paint (LCP)
Cumulative Layout Shift (CLS)
Movement distance and impact of page elements during the entire lifetime of the document the user sees
First Input Delay (FID)
The browser time delay between the user’s first click and execution of application code
Example:
User clicks a button but eventhandler does not fire right away b/c page JS hasn’t finished loading
4 Web Vitals & tips for success
First Contentful Paint (FCP) - Respond quick
Largest Contentful Paint (LCP) - Get to the point
Cumulative Layout Shift (CLS) - Don’t move stuff
First Input Delay (FID) - Don’t load too much
What is the internet?
The internet is composed of many computers connected to each other and exchanging information.
These connections establish what’s known as a “network.”
When you connect to the internet, you’re connecting to a huge network consisting of many computers.
How computers talk to each other
Key components to Internet
IP Address
Computers use Internet protocol (IP) addresses to connect with one another through the internet
(similar to addresses we use to send postal mail)
Nodes and Hosts
Nodes - computers and devices connected to a network
Hosts - nodes that run applications that send and accept information from other nodes
Protocols
Protocol - a way of transmitting data between computers and other devices.
Most common protocols:
* Simple Mail Transfer Protocol (SMTP). This is used for email.
* Hypertext Transfer Protocol (HTTP). HTTP is used to connect to web pages on the World Wide Web (WWW).
* Transmission Control Protocol (TCP) - a standard that defines how to establish and maintain a network conversation by which applications can exchange data. TCP works with the Internet Protocol (IP), which defines how computers send packets of data to each other.
Data packets
Networking infrastructure
the physical devices that networks use to transmit data
Internet infrastructure
The infrastructure of the internet is built and supported by network service providers (NSPs).
By “infrastructure,” we mean the physical components that carry data through the internet. For example, these would include core routers, which take data and send it someplace else, and fiber optic cables, which carry data.
Internet routing
Domain names
CPU
Central Processing Unit
aka processor or microprocessor
CPU Core
Essentially, a core is a CPU itself, a separate device inside the main CPU chip. This means that it has the ability to do just one thing at a time.
However, modern computers have the ability to support more than one core inside the main chip.
What is usually meant by the term “elastic”?
VPS
Virtual Private Server
* a slice of a server
* a virtual machine that provides virtualized server resources on a physical server that is shared with other users. With VPS hosting, you get dedicated server space with a reserved amount of resources, offering greater control and customization than shared hosting.
VPC
Virtual Private Cloud
a secure, isolated private cloud hosted within a public cloud.
Types of DNS Records
A Record
Maps name to IP Address
i.e. drinkvsdrink.com → 23.23.185.61
CNAME
Maps name to name
i.e. blog.drinkvsdrink.com → drinkvsdrink.com
Proxy Server (Forward Proxy)
allows multiple clients to route traffic to an external network.
e.g. a business may have a proxy that routes and filters employee traffic to the public Internet. A reverse proxy, on the other hand, routes traffic on behalf of multiple servers.