Google pagespeed minfy html
- MKI-Miro
- Člen | 261
Ahojte
Ako riešite minifikáciu html?
Google pagespeed insights mi hlási:
Compacting HTML code, including any inline JavaScript and CSS contained in it, can save many bytes of data and speed up download and parse times.
Minify HTML for the following resources to reduce their size by 1.2KiB (14% reduction).
ďakujem
- Dan Hundrt
- Člen | 74
@MKI-Miro v latte lze použít makro na minifikaci HTML:
{spaceless}...{/spaceless}
JS a CSS by měly být ideálně v externích souborech.