i'm using jch plugin to speed up my site. but i have some problems configuring it.

  1. there is a piece of inline js code that keeps changing in js file that jch plugin creates. but this part isn't in the code parts that the plugin offers to exclude. and also the module that creates this part of js code, isn't there to exclude. what should i do? there are 2 code part offered by jch plg that are similar to these 2 (similar at the beginning of the code)

  2. when i enable "Sprite Generator", total page size of my site increases. how should i solve this?

  3. sometimes the site opens in mobile view on desktop :/ wierrrrrd

my site address: www.farafan-market.com

  • Without a preview of the site, we cannot really help. I;d also suggest fiddling around with some of the plugins settings. Having used this plugin many times on various site, I can say that setting it to the maximum caching level will start causing issues.
    – Lodder
    Aug 11 '16 at 15:14
  • u mean i shouldn't put it on "optimum" level??
    – kiasaty
    Aug 11 '16 at 15:18
  • 1
    I would simply suggest fiddling around with the settings. Also, don't go with the pre-defined settings. Set everything back to default, then enabled each setting one by one and see if everything is ok
    – Lodder
    Aug 11 '16 at 15:28
  • my main problem is the number 1 that i explained. how can i exclude the js code part?
    – kiasaty
    Aug 11 '16 at 15:32
  • I'm not sure as I didn't really understand what you meant by it.
    – Lodder
    Aug 11 '16 at 15:33
  1. If the JS is inline then perhaps you can override the model to take it into a separate file which may solve your issue with JCH.

  2. If the sprite generator makes your site slightly larger that's no issue. Because it reduces the amount of requests so your site should load more quickly - but check! It has to use a PNG as it needs to be transparent. But PNG is a larger files than JPG. Hence the increased file size.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.