Author Topic: exclude only product pages in jch_optimize, not category pages  (Read 256 times)

kiasati

  • Jr. Member
  • **
  • Posts: 102
    • JoomlaJoy
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

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3338
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: exclude only product pages in jch_optimize, not category pages
« Reply #1 on: March 08, 2018, 14:52:02 pm »
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

  • Jr. Member
  • **
  • Posts: 102
    • JoomlaJoy
Re: exclude only product pages in jch_optimize, not category pages
« Reply #2 on: March 08, 2018, 16:51:15 pm »
in recent versions of jch you can exclude menu items.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3338
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: exclude only product pages in jch_optimize, not category pages
« Reply #3 on: March 08, 2018, 17:57:12 pm »
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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10280
  • VirtueMart Version: 3+
Re: exclude only product pages in jch_optimize, not category pages
« Reply #4 on: March 09, 2018, 12:14:46 pm »
WHY?
you have conflicts?
Mine works

better to solve the conflicts

I do NOT do development work for hire.