After OpenCart brought me to the brink of despair, here comes a Quick'n & Dirty but the fastest method of how to warmup your cache not only for OpenCart. This method is only for use in CLI. I have a version for PHP, but this version is not for free. To make warmup really fast, the default way of...
Hey come on! :rolleyes: This is neither magic nor special. It is just default! If you would be ready to learn and listen you would have real magic stuff. Your "magic" crawler script is a turtle!
Yes, but I think this is for if you request a non-SEO URL to redirect to SEO URL. In your case I would check it at least access_log to verfiy if there is no redirection.
You should ask for support either at Q LiteSpeed cache plugin for WP or Slack:
https://wordpress.org/support/plugin/litespeed-cache/
https://golitespeed.slack.com
This forum doesn't support Wordpress cache plugin or Quic.cloud
As I already told you, all codes from above are working codes. If they do not work for you something must be wrong with setup for domain and subdomain configuration. Nobody can help you if this configuration unknown, but try it at StackOverflow.
I don't know if can go shure. I only see your code. Maybe I am wrong or I overlooked the SEO part. Nevertheless, if there are SEO URLs add the single curl parameter for to CURLOPT_NOBODY to reduce request times.
And this the "magic" behind https://check.lscache.io
wget -q -S -O - "https://www.priazha-shop.com" > /dev/null
or with curl
curl -D - https://www.priazha-shop.com -o /dev/null
So Mr. Super Warmup Cache Crawler Master,
below you will see what is wrong with your code and your super deluxe recache warmup script.
The first code is the default code taken from lscache module for Opencart, but modified by Mr. Super Warmup Cache Crawler Master with Accept Encoding Header...
If client (curl) sends "Accept-Encoding: gzip,deflate,br" request header, LScache will compress cache files, but this compression is different to compression for data transfer compression, so it doesn't matter if you use gzip, deflate or br. Cache file compression is always the same, but if you...
All codes you tried from above are working codes. There is nothing special on it. If they do not work at your server something must be wrong with domain and subdomain configuration. Check if subdomains and .tld domain have same document_root.