• Resolved ctrlaltdelete

    (@ctrlaltdelete)


    Hello! 2 questions in 1.

    1 – what does PSI mean? It’s written everywhere on the settings page.
    2 – My theme (soon to be RIP) has JS blocks in the HTML, these are not minified not even the white space. I think it should do that maybe i don’t see the option?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Raul P.

    (@alignak)

    Please note that FVM is geared at developers and advanced users.

    1 – PSI is acronym for page speed insights, from google.
    https://developers.google.com/speed/pagespeed/insights/

    2 – Indeed, that’s to preserver compatibility. On Javascript, spaces, comments and linebreaks sometimes serve a purpose and cannot be stripped off (ads for example), however, automatically, we don’t know which ones are needed. FVM doesn’t touch the inline scripts.

    You could try the autoptimize plugin and see if it does what you want. I think they have an option for that, or at least to merge that inline code into the js file.

    FVM 3.0 will have a similar feature, but it may take a while for he update.

    Thread Starter ctrlaltdelete

    (@ctrlaltdelete)

    1. Oh silly me.
    2. I see. It’s not a problem i was just curious. It’s welcome on a future update. You could even have various levels of commitment:
    a) Remove whitespaces
    b) Minify inline.
    c) Minify and move to js file.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PSI? Not minifying inline JS.’ is closed to new replies.