Question: True or false? You can minify code or compress it, but you cannot do both.
- True
- False
Explanation
Code files can be both minified and compressed to improve page load speed. Minification removes unnecessary characters like whitespace and comments, while compression reduces file size during transfer. Applying both techniques optimizes server response times and enhances user experience. Faster loading pages support better Core Web Vitals and SEO performance.
Why the other options are incorrect
A) It is technically possible and recommended to use both minification and compression together for optimal speed.
Source for verification
HubSpot Academy: Technical SEO Audit
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot SEO II" page.
