News:

Looking for documentation? Take a look on our wiki

Main Menu

exclude only product pages in jch_optimize, not category pages

Started by kiasati, March 08, 2018, 07:21:10 AM

Previous topic - Next topic

kiasati

Hi.

in JCH_Optimize configurations there is an option to exclude menu items.
when i check category pages, both category pages and products in them get excluded.

i want only product pages to be excluded. how can i do this?

Studio 42

I dont know if you can exlude by view JCH_Optimize ?
I dont use JCH_Optimize  anymore, i had to many trouble with it.

kiasati


Studio 42

You should modify the plugin and check for view=productdetails to exclude product view
Note that if your server support http2, because parallel download, it's most time faster to load multiple files, so JCH optimise is slower then unoptimiszed page, even if some "page speed" tool say it's not.
So better minimize what you can and defer script loading. You have more advantage that use 1 big file and even more if many scripts are loaded, because this are getting form browser cache.
Try for eg my shop home page, it load in 900ms in all including JS+CSS+IMG ... and 600ms after caching, because it use http2 and load all in parrallel in all modern browser
The product page is slower, but because discuss comment and youtube, not my website.

PRO

WHY?
you have conflicts?
Mine works

better to solve the conflicts