DEV Community

Discussion on: Frontend Performance Optimization

Collapse
 
beckafly profile image
Alex Becker

I believe minification and compression are not interchangeable terms, nor are they mutually exclusive, you should use both:) Also concatenation will help to reduce those costly HTTP requests. And it's not just the DNS that makes HTTP requests so painful, it's the actual download time... Also cashing is only effective the second time and on that the user visits the website, first visit will take exactly the same amount of time whether you have cashing enabled or not. And last but not least, image tag will make sure you only load images that you need for the particular viewport size.