Page 1 of 1

Media type "text/javascript" is obsolete, recommend "application/javascript" instead.

Posted: Tue Feb 20, 2018 1:47 pm
by RSteinwand
Hi Albert,

Correct me if I'm wrong, but isn't removing text/css from styles and text/javascript or application/javascript the preferred route with html5 for inlined or external files?

Thanks.

Re: Media type "text/javascript" is obsolete, recommend "application/javascript" instead.

Posted: Tue Feb 20, 2018 2:00 pm
by Albert Wiersch
Yes it is. I've made some updates in this area for the upcoming v18.01 update expected later this month (end of February).

Re: Media type "text/javascript" is obsolete, recommend "application/javascript" instead.

Posted: Tue Feb 20, 2018 2:04 pm
by RSteinwand
Thanks Albert.

I've started removing it as well to lighten pages.