Logo

dev-resources.site

for different kinds of informations.

Gzip Compression for Beginners

Published at
6/12/2019
Categories
beginners
learnings
webdev
gzip
Author
ganesh
Categories
4 categories in total
beginners
open
learnings
open
webdev
open
gzip
open
Author
6 person written this
ganesh
open
Gzip Compression for Beginners

Gzip is a compression method that makes files smaller for faster network transfers.

Say, you have an HTML page with 1 MB size, Instead of sending this directly to the client, you can compress it by using Gzip compression. This will reduce the size of the file which will result in faster transmission of the file.
Once the client browser receives the file, it can uncompress and render the file.

This is applicable for all the HTML, CSS, JS and JPEG files. Gzip reduces the file zip by fifty per cent generally. most of the modern browsers support Gzip Compression. if a browser supports gzip it includes, "Accept-Encoding: gzip,deflate" in its header while making a request. if the header doesn't have this value you can send plan HTML page the old way.

Gzip can be don't dynamically or statically to avoid the server load. Gzip Can't compress PNG, Zip or any other already compressed formats.


Read about my python scripts challenge here

learnings Article's
26 articles in total
Favicon
Microsoft OpenAI: Errors I Learned
Favicon
[HttpServer series] Will it support the Performance, and Scale ?
Favicon
[HttpServer Series] Frameworks, Annotations, and SpringBoot
Favicon
[HttpServer Series] Who uses Java anymore ?
Favicon
Transcribe Now - : Unlocking Cross-Cultural Language Understanding
Favicon
Real-Life Problem Solving: Lessons from My Engineering Principles
Favicon
Recent Learnings
Favicon
9 Learnings from a fast-growing startup
Favicon
10 Things That I Learned in 2022
Favicon
🎯 SaaS dev challenges - #02 - 🗝 ️Authentication
Favicon
🎯 SaaS dev challenges - #01 - 🎨 UI/UX & design system
Favicon
Simple Rock Paper Scissors game build using JuliaLang
Favicon
Learnings from daily dev job - Part 1
Favicon
Everything I learned at the first job I had as a developer
Favicon
How To Optimize for Change
Favicon
Why being a Codeslinger makes you worse than you think
Favicon
geek week local
Favicon
Are libraries/frameworks an overkill?
Favicon
Managing projects for software developers
Favicon
Learnings from my last assignment
Favicon
My Experience doing fun ( stupid ? ) stuff with Python
Favicon
Gzip Compression for Beginners
Favicon
Managers are wiser than average and subordinates are dumber?!
Favicon
Making and taking babysteps
Favicon
🔥 One year of my professional career and things I learned which might help you 🙏
Favicon
How I'm Managing Work-Life Balance

Featured ones: