• Resolved Dom Watts

    (@domwattsmoi)


    Hi

    I have enabled HTML, Javascript and CCS minify which is working fine for all pages apart from the homepage. HTML for the MOI homepage is not being minified.

    I have disabled, re-enabled, purged but this makes no difference.

    Any ideas ?

    Thanks

    Dom

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support vupdraft

    (@vupdraft)

    I have run your site though a http2 check:

    https://tools.keycdn.com/http2-test

    As your sites support http2, you should not have minify enabled

    When loading a website from an HTTP1.1 server, A single request is processed at a time. therefore, the browser will first download the CSS, then another CSS, then another JS.  At the end of the download process,  the pages will be rendered.  This happens one after another, until all assets are loaded on the page. A single HTTP request on an HTTP 1.1 based server will always load quicker than multiple, as there is no waiting period.

    With HTTP 2, All requests load at the same time. There is no waiting  and there are the same number of connections for the number of assets being requested. Therefore, merging and minifying  creates a larger file which then takes longer to to upload and download, leading to a longer render process for the website. By keeping all of the individual files un-merged and un- minified they can all load at the same time. 

Viewing 1 replies (of 1 total)

The topic ‘Minify HTML’ is closed to new replies.