• Resolved Audiomonk

    (@audiomonk)


    Couldn’t get Image optimiser to work with WP-hide, which breaks the functionality of my site. I don’t know whether this is something can be fixed with LScache plugin, or I need to speak to them. I can put my site in maintenance while the images are optimised, but I can’t keep doing this once it’s live and people are uploading images etc. Is there maybe a quick fix for this other than disabling wp-hide?

    Fantastic plugin though, really impressed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    From what I read it in its document , it’s kind of rewrite known WP files link to desired link , and also filter the HTML output , replace string if necessary.

    Does WP hide have some kind of white-list or bypass list ?

    And by can’t get image optimization work , what exactly is not working ? any error message ?

    Best regards,

    Thread Starter Audiomonk

    (@audiomonk)

    I’ll double check on wp-hide see if it has some kind of whitelist. As far as I can tell it uses .htaccess to rewrite the customised paths to the original paths, and that’s probably why litespeed isn’t finding the original paths? Not sure really, but disabling it allowed the optimiser to work.

    The image optimisation is working, but it is timing out now that I’ve hit the 5000 level. It tries to send too many images I think because after pressing it it processes for a while, then I get dropped out in a cloudflare timeout screen. Previously, I was able to retrieve partial optimisations (even though the retrieving timed out). Now though it times out when sending, and hitting the status refresh, just puts it back to where it was before being sent.

    Is there a way to put the credit level back manually, as it seemed to be coping with the smaller numbers ok. I do have a LOT of images on my site.

    Thanks for your help.

    Hi @audiomonk, for the issue of sending too many images, you can use this filter to limit the batch size of image optimization:

    add_filter( 'litespeed_img_optimize_max_rows', function( $num ){ return 50 ; } ) ;

    Thread Starter Audiomonk

    (@audiomonk)

    Thanks for the response, I seem to have solved the issue by enabling cron and letting litespeed do the background optimising.

    The cron seems to check very often for updated images, what’s the best way to get it to check say once a day ?

    Great support, love the product.

    As the cronjob is controlling a few different functions (image optm, ccss, placegolder, crawler), the schedule cannot be changed because of those functions are related to third-party service which will expire if not fetch in-time. Please be relax that it will not consume too much processing power if there is no action to run.

    The best way to reduce the server load is by reducing the optimize_max_rows.

    Thread Starter Audiomonk

    (@audiomonk)

    Ok, thanks for the information.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to fix WP-hide, or Litespeed’ is closed to new replies.