JCH Optimize Breaking my site - Joomla! Forum - community, help and support


hello all,

so installed jch optimize hoping improve page load speed. unfortunately, caused site break returning internal server error. tried turning on , off every option , rendered same error. put no every option left enabled , still breaking site. once disabled it, site returned.

any ideas causing , fixable?

not really.

the issue not developers created equal, neither code write. dozens of extensions dozens of developers gives lot of variability.

javascript has strange quirks make combining , compressing troublesome. it's not compiled language theres comments in using // don't have clear end, in cases believe semi colon line ender can left out (so line end?), , don't require braces depending on how code written.

this can held true other programming languages too, compiler leg work of shrinking it, stripping stuff out, making machine language don't have problem.

so try stripping whitespace troublesome js file, it's tough , result breaks because output isn't valid anymore. developers code using practice, proper style, , etc. , result code can stripped of white space, combined others, , etc. both work though...so no one's forced either way.

some code dependent on other code order of scripts can mangled.

same goes css, can clash on styles causing problems.....developers can't code else....too tough. slam bunch , conflicts.

new joomla 3.0 introducing shipped jquery , bootstrap makes lot of these problems go away. gives people 1 set of libraries code against, , reduces lot of unnecessary script includes. can still have code ship extension, , not well.

ive noticed template providers give way combine, compress, , etc. css , js , works joomla css , js (which coded/styled bet heh)....

but extensions it's kind of wild west, said 3.0 cleans lot of peoples shenanigans.

the plugin use or types have way exclude things, entire folder using <folder name>/* exclude scripts found here or can exclude individual scripts , stylesheets. , you'll have play other options.

use forum post assistant, can see extensions have , maybe can working solution that's better nothing.

what template provider use?

unfortunately can't turn on , want site, wish could... unlikely.

example,
something though if used yootheme or rocket theme template, extensions, used solution combine , compress , etc. work everything...introduce third party extension outside of loop , may or may not work.





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support