[THEMEFUSE] The Need For Site Speed
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
#<br />
8<br />
MINIFYYOURCODE<br />
Minifyingyourcodewilclearyoursite’sloadingprocessandwilleadtoanincreaseinits<br />
speed.YoucanusetheAutoptimizeplugintominifyyourHTML,CSSandJavaScriptcode.<br />
Checkthefrontendofyourwebsitevisualyandusingtheinspectelementproperty.Iftherearenoerors<br />
displayed,youcanmoveontothenextstep.Ifyou’lencountersomeerorsafterrunningtheplugin(like<br />
‘jQueryisnotdeined’),indoutwhichile(inthiscaseisjquery.js)orilesgeneratetheerorsandmove<br />
totheplugins’setings.<br />
InAutoptimize,clickon‘Showadvancedsetings’andindtheields‘Excludescriptsfrom<br />
Autoptimize’from JavaScriptoptionsand‘ExcludeCSSfrom Autoptimize’from CSSoptions.Insertthe<br />
nameoftheileswhichyouidentiiedinthepreviousstep,inaccordancetotheirextensions(.jsor.css),<br />
forexample:<br />
19