Query parameter inside URL in cache
-
Hello,
I am experiencing alot of misses in my cache and it causes long average response time from Google and I would like to know how to fix it.
Google is crawling a lot of URL with query parameters ( I checked the logs) to manage product variations (e.g., color, size) in URLs like the following :
https://ezstrap.fr/produit/bracelet-apple-watch-silicone-a-surface-rainuree/?attribute_pa_couleur=gris-transparent&attribute_pa_taille-de-lapple-watch=38mm-a-41mmHowever, thoses kind of URLs are not in Cache so when Google crawl my website, I have a lot of miss and it make the PHP works all the time , so long TTFB and google is not really happy about it.
As you can see , static and dynamic cache hit are pretty low :Here is the view inside the Google Search Console, (you can focus on the part circled in green as I had another hosting company before) I have 1300 ms in average (200ms is recommended by Google) :
As you can see , this is the kind of request google is having on my website. I have a lot of variations per product and I need a way to put in cache this kind of URLs :
Also, I cannot remove theses URLs from robots.txt because they are necessary inside google merchant center.
Here are my questions,
-Is there a way to cache automatically the urls of my shop with query parameters so google hit the cache directly every time its looking for a variation URLs?-Is there a way to prewarm the Edge Cache (QUIC.cloud) for variation URLs so that even the first request is a HIT?
-Can I provide a custom crawler-map.txt with all variation combinations (e.g. color+size) to ensure the urls with the query parameters are also cache ( because right now the crwaler only have normal URLs inside the Sitemap List) ?
-If I can provide a custom crawler to cache the query parameter URLs, do you know the best way to do it? ( is this a problem only me is having ? should I go for a custom coding solution or simpler solution exists? )
-Is “Google” in Guest Mode User-Agents enough for LiteSpeed to treat Googlebot as guest + cache-eligible as we can clearly see with my long average response time that the cache is not served for google?
I have been strugling with this problems for weeks so I would be really happy to have your feedback on it. Thank you.
Regards,-
This topic was modified 10 months, 3 weeks ago by
dadishome.
-
This topic was modified 10 months, 3 weeks ago by
-
no , ideally you should warm up the origin cache , there are like hundreds CDN nodes, no way to warm up them all
I am now analysing every log to understand what happen but chat GPT is not really helping with it so I am not understanding a couple of things.
Here is a google bot visit on one of my product pages and as you can see, no query drop but still a pretty long time of 1.1s so I am guessing this did not hit the cache but I can’t be sure. I dont know what to look in the logs to see if the cache was hit or not because according to GPT, X-LSCACHE: true , or ‘X-LiteSpeed-Cache-Control: public,max-age=604800’,
Doesnt mean the cache has been HIT;
Here are my questions :
-How can I know if the cache is hit on my requests?
-Do you see any problem in this example that could explain the long loading time?
Regards,
07/11/25 19:24:58.493 [66.249.70.4:55944 1 PmK] π ------GET HTTP/1.1 (HTTPS) /produit/bracelet-apple-watch-silicone-relief-floral-en-3d/
07/11/25 19:24:58.493 [66.249.70.4:55944 1 PmK] Query String:
07/11/25 19:24:58.493 [66.249.70.4:55944 1 PmK] User Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.g...
07/11/25 19:24:58.493 [66.249.70.4:55944 1 PmK] Accept: text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9,*/*;q=0.8
07/11/25 19:24:58.493 [66.249.70.4:55944 1 PmK] Accept Encoding: br,gzip
07/11/25 19:24:58.493 [66.249.70.4:55944 1 PmK] X-LSCACHE: true
07/11/25 19:24:59.202 [66.249.70.4:55944 1 PmK] Disable ESI due to Perfmatters script manager
07/11/25 19:24:59.215 [66.249.70.4:55944 1 PmK] π± ππ Guest mode
07/11/25 19:24:59.215 [66.249.70.4:55944 1 PmK] [Media] init
07/11/25 19:24:59.215 [66.249.70.4:55944 1 PmK] [LQIP] init
07/11/25 19:24:59.215 [66.249.70.4:55944 1 PmK] [Optm] init
07/11/25 19:24:59.216 [66.249.70.4:55944 1 PmK] [CDN] init
07/11/25 19:24:59.216 [66.249.70.4:55944 1 PmK] β° Init
07/11/25 19:24:59.216 [66.249.70.4:55944 1 PmK] [Router] LSCWP_CTRL bypassed empty
07/11/25 19:24:59.216 [66.249.70.4:55944 1 PmK] [GUI] init
07/11/25 19:24:59.396 [66.249.70.4:55944 1 PmK] π΅ Cache_control init on
07/11/25 19:24:59.425 [66.249.70.4:55944 1 PmK] [Tool] Deregistered frontend heartbeat
07/11/25 19:24:59.462 [144.76.177.156:58754 1 3cp] π ------POST HTTP/1.1 (HTTPS) /wp-cron.php
07/11/25 19:24:59.462 [144.76.177.156:58754 1 3cp] Query String: doing_wp_cron=1752258299.3608889579772949218750
07/11/25 19:24:59.462 [144.76.177.156:58754 1 3cp] User Agent: WordPress/6.8.1; https://ezstrap.fr
07/11/25 19:24:59.462 [144.76.177.156:58754 1 3cp] Accept: */*
07/11/25 19:24:59.462 [144.76.177.156:58754 1 3cp] Accept Encoding: br,gzip
07/11/25 19:24:59.462 [144.76.177.156:58754 1 3cp] X-LSCACHE: true
07/11/25 19:24:59.525 [66.249.70.4:55944 1 PmK] [Core] Footer hook called
07/11/25 19:24:59.535 [66.249.70.4:55944 1 PmK] [Core] Footer check passed
07/11/25 19:24:59.535 [66.249.70.4:55944 1 PmK] [Router] get_role:
07/11/25 19:24:59.535 [66.249.70.4:55944 1 PmK] π± no custimzed vary
07/11/25 19:24:59.536 [66.249.70.4:55944 1 PmK] π° X-LiteSpeed-Cache-Control: public,max-age=604800
07/11/25 19:24:59.536 [66.249.70.4:55944 1 PmK] π° X-LiteSpeed-Tag: 0fc_product,0fc_URL./produit/bracelet-apple-watch-silicone-relief-floral-en-3d/,0fc_Po.52531,0fc_guest,0fc_
07/11/25 19:24:59.536 [66.249.70.4:55944 1 PmK] [footer comment]
<!-- Page cached by LiteSpeed Cache 7.2 on 2025-07-11 19:24:59 -->
<!-- X-LiteSpeed-Cache-Control: public,max-age=604800 -->
<!-- X-LiteSpeed-Tag: 0fc_product,0fc_URL./produit/bracelet-apple-watch-silicone-relief-floral-en-3d/,0fc_Po.52531,0fc_guest,0fc_ -->
<!-- Object Cache [total] 21672 [hit_incall] 20821 [hit] 24 [miss_incall] 216 [miss] 611 [set] 616 -->
<!-- Guest Mode -->
07/11/25 19:24:59.536 [66.249.70.4:55944 1 PmK] [Core] Footer check passed
07/11/25 19:24:59.536 [66.249.70.4:55944 1 PmK] [Core] run hook litespeed_buffer_finalize
07/11/25 19:24:59.536 [66.249.70.4:55944 1 PmK] πΊ finalize
07/11/25 19:24:59.537 [66.249.70.4:55944 1 PmK] [VPI] queue k existed https://ezstrap.fr/produit/bracelet-apple-watch-silicone-relief-floral-en-3d
07/11/25 19:24:59.537 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/06/EzStrapLogo.avif
07/11/25 19:24:59.537 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-bleu-800x800.avif
07/11/25 19:24:59.537 [66.249.70.4:55944 1 PmK] [Media] lazyload image cls excludes [hit] skip-lazy
07/11/25 19:24:59.537 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-bleu-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-blanc-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-noir-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-marron-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-orange-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-rouge-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-violet-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-bleu-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-vert-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/07/bracelet-apple-watch-silicone-relief-floral-en-3d-rose-clair-150x150.avif
07/11/25 19:24:59.538 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/06/pack_promo.avif
07/11/25 19:24:59.539 [66.249.70.4:55944 1 PmK] πΊ β οΈ Missing sizes for image [src] https://ezstrap.fr/wp-content/uploads/2025/06/pack_promo.avif
07/11/25 19:24:59.539 [66.249.70.4:55944 1 PmK] πΊ Add missing sizes 200x74 to https://ezstrap.fr/wp-content/uploads/2025/06/pack_promo.avif
07/11/25 19:24:59.539 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/06/trustbadges-ezstrap-scaled.avif
07/11/25 19:24:59.539 [66.249.70.4:55944 1 PmK] πΊ β οΈ Missing sizes for image [src] https://ezstrap.fr/wp-content/uploads/2025/06/trustbadges-ezstrap-scaled.avif
07/11/25 19:24:59.539 [66.249.70.4:55944 1 PmK] πΊ Add missing sizes 2560x310 to https://ezstrap.fr/wp-content/uploads/2025/06/trustbadges-ezstrap-scaled.avif
07/11/25 19:24:59.539 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/06/logo_fondnoir.avif
07/11/25 19:24:59.540 [66.249.70.4:55944 1 PmK] [Media] lazyload found: https://ezstrap.fr/wp-content/uploads/2025/06/trustbadges_fond_noir.avif
07/11/25 19:24:59.540 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 200x83
07/11/25 19:24:59.540 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.540 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.540 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.540 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.540 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.540 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.540 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.541 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.541 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.541 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 150x150
07/11/25 19:24:59.541 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 200x74
07/11/25 19:24:59.541 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 2560x310
07/11/25 19:24:59.541 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 130x38
07/11/25 19:24:59.541 [66.249.70.4:55944 1 PmK] [LQIP] _generate_placeholder local [size] 718x78
07/11/25 19:24:59.542 [66.249.70.4:55944 1 PmK] GUI bypassed by no counter
07/11/25 19:24:59.543 [66.249.70.4:55944 1 PmK] [Optm] start
07/11/25 19:24:59.543 [66.249.70.4:55944 1 PmK] π load url file: product
07/11/25 19:24:59.543 [66.249.70.4:55944 1 PmK] [CSS] existing ccss /home/admin/domains/ezstrap.fr/public_html/wp-content/litespeed/ccss/0d5043118452d3de6a588b8407c6b10a.css
07/11/25 19:24:59.544 [66.249.70.4:55944 1 PmK] [Optm] _parse_css bypassed exclude pre
07/11/25 19:24:59.545 [66.249.70.4:55944 1 PmK] [Optm] _parse_css bypassed exclude .wp-block-quote
07/11/25 19:24:59.545 [66.249.70.4:55944 1 PmK] [Optm] _parse_css bypassed exclude pre
07/11/25 19:24:59.545 [66.249.70.4:55944 1 PmK] [Optm] _parse_css bypassed exclude pre
07/11/25 19:24:59.546 [66.249.70.4:55944 1 PmK] [Optm] _parse_css bypassed exclude pre
07/11/25 19:24:59.546 [66.249.70.4:55944 1 PmK] [Optm] _parse_css bypassed exclude pre
07/11/25 19:24:59.546 [66.249.70.4:55944 1 PmK] [Optm] _parse_css bypassed exclude code
07/11/25 19:24:59.546 [66.249.70.4:55944 1 PmK] [Optm] _parse_css bypassed exclude pre
07/11/25 19:24:59.546 [66.249.70.4:55944 1 PmK] π load url file: https://ezstrap.fr/produit/bracelet-apple-watch-silicone-relief-floral-en-3d/
07/11/25 19:24:59.547 [66.249.70.4:55944 1 PmK] [UCSS] existing ucss /home/admin/domains/ezstrap.fr/public_html/wp-content/litespeed/ucss/967bc7c7a76d72e68a86e2a62ea1723e.css
07/11/25 19:24:59.547 [66.249.70.4:55944 1 PmK] π° [Tag] Add --- MIN.967bc7c7a76d72e68a86e2a62ea1723e.css
07/11/25 19:24:59.549 [66.249.70.4:55944 1 PmK] [Optm] _parse_js bypassed due to js files excluded [hit] gtag
07/11/25 19:24:59.550 [66.249.70.4:55944 1 PmK] [Optm] _parse_js bypassed due to js excluded [hit] gtag
07/11/25 19:24:59.552 [66.249.70.4:55944 1 PmK] [Optm] _parse_js bypassed due to js excluded [hit] gtm
07/11/25 19:24:59.552 [66.249.70.4:55944 1 PmK] [Util] file not exist: /home/admin/domains/ezstrap.fr/private_html/wp-content/plugins/Stock%20Bar%202/script.js
07/11/25 19:24:59.553 [66.249.70.4:55944 1 PmK] [Util] file not exist: /home/admin/domains/ezstrap.fr/private_html/wp-content/plugins/Pack%20Promo%208.0%20-%20Native%20Cart%20-%20AllΓ©gΓ©/assets/pack-promo.js
07/11/25 19:24:59.554 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-includes/js/jquery/jquery.min.js
07/11/25 19:24:59.559 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/commercegurus-commercekit/assets/js/js.cookie.min.js
07/11/25 19:24:59.560 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
07/11/25 19:24:59.562 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
07/11/25 19:24:59.564 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woocommerce/assets/js/frontend/single-product.min.js
07/11/25 19:24:59.565 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
07/11/25 19:24:59.573 [66.249.70.4:55944 1 PmK] [Util] file not exist: /home/admin/domains/ezstrap.fr/private_html/wp-content/plugins/Stock%20Bar%202/script.js
07/11/25 19:24:59.573 [66.249.70.4:55944 1 PmK] [CSS] Load Remote [js] https://ezstrap.fr/wp-content/plugins/Stock%20Bar%202/script.js?ver=1.1
07/11/25 19:24:59.575 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woo-discount-rules/v2/Assets/Js/site_main.min.js
07/11/25 19:24:59.576 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woo-discount-rules/v2/Assets/Js/awdr-dynamic-price.min.js
07/11/25 19:24:59.577 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-includes/js/underscore.min.js
07/11/25 19:24:59.580 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-includes/js/wp-util.min.js
07/11/25 19:24:59.581 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-includes/js/api-request.min.js
07/11/25 19:24:59.582 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-includes/js/dist/hooks.min.js
07/11/25 19:24:59.583 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-includes/js/dist/i18n.min.js
07/11/25 19:24:59.585 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-includes/js/dist/vendor/wp-polyfill.min.js
07/11/25 19:24:59.587 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-includes/js/dist/url.min.js
07/11/25 19:24:59.590 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-includes/js/dist/api-fetch.min.js
07/11/25 19:24:59.592 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woo-variation-swatches/assets/js/frontend.min.js
07/11/25 19:24:59.594 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/commercegurus-commercekit/assets/js/swiper-bundle.min.js
07/11/25 19:24:59.600 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/commercegurus-commercekit/assets/js/photoswipe.min.js
07/11/25 19:24:59.602 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/commercegurus-commercekit/assets/js/photoswipe-ui-default.min.js
07/11/25 19:24:59.603 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/commercegurus-commercekit/assets/js/commercegurus-gallery.js
07/11/25 19:24:59.606 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/themes/shoptimizer/assets/js/main.min.js
07/11/25 19:24:59.607 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/themes/shoptimizer/assets/js/quantity.min.js
07/11/25 19:24:59.608 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/themes/shoptimizer/assets/js/pdp-accordions.js
07/11/25 19:24:59.610 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/themes/shoptimizer/assets/js/single-product-ajax.js
07/11/25 19:24:59.611 [66.249.70.4:55944 1 PmK] [Util] file not exist: /home/admin/domains/ezstrap.fr/private_html/wp-content/plugins/Pack%20Promo%208.0%20-%20Native%20Cart%20-%20AllΓ©gΓ©/assets/pack-promo.js
07/11/25 19:24:59.611 [66.249.70.4:55944 1 PmK] [CSS] Load Remote [js] https://ezstrap.fr/wp-content/plugins/Pack%20Promo%208.0%20-%20Native%20Cart%20-%20AllΓ©gΓ©/assets/pack-promo.js?ver=1.0.0
07/11/25 19:24:59.612 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woocommerce/assets/js/sourcebuster/sourcebuster.min.js
07/11/25 19:24:59.615 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woocommerce/assets/js/frontend/order-attribution.min.js
07/11/25 19:24:59.616 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/perfmatters/js/lazyload.min.js
07/11/25 19:24:59.617 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/themes/shoptimizer/assets/js/minicart-quantity.js
07/11/25 19:24:59.618 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woo-discount-rules-pro/Assets/Js/awdr_pro.min.js
07/11/25 19:24:59.620 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js
07/11/25 19:24:59.622 [66.249.70.4:55944 1 PmK] [CSS] Load local [js] /home/admin/domains/ezstrap.fr/public_html/wp-content/plugins/woo-variation-swatches-pro/assets/js/add-to-cart-variation.min.js
07/11/25 19:24:59.625 [66.249.70.4:55944 1 PmK] [Optmer] Saved static file [path] /home/admin/domains/ezstrap.fr/public_html/wp-content/litespeed/js/60f732f3764a2168d0623b6852085ef6.js
07/11/25 19:24:59.625 [66.249.70.4:55944 1 PmK] [Optmer] Save URL to file for [file_type] js [file] 60f732f3764a2168d0623b6852085ef6 [vary]
07/11/25 19:24:59.626 [66.249.70.4:55944 1 PmK] π° [Tag] Add --- MIN.60f732f3764a2168d0623b6852085ef6.js
07/11/25 19:24:59.631 [66.249.70.4:55944 1 PmK] Response headers --- array (
0 => 'X-DNS-Prefetch-Control: on',
1 => 'Content-Type: text/html; charset=UTF-8',
2 => 'Link: <https://ezstrap.fr/wp-json/>; rel="https://api.w.org/"',
3 => 'Link: <https://ezstrap.fr/wp-json/wp/v2/product/52531>; rel="alternate"; title="JSON"; type="application/json"',
4 => 'X-LiteSpeed-Cache-Control: public,max-age=604800',
5 => 'X-LiteSpeed-Tag: 0fc_product,0fc_URL./produit/bracelet-apple-watch-silicone-relief-floral-en-3d/,0fc_Po.52531,0fc_guest,0fc_,0fc_MIN.967bc7c7a76d72e68a86e2a62ea1723e.css,0fc_MIN.60f732f3764a2168d0623b6852085ef6.js',
)
07/11/25 19:24:59.631 [66.249.70.4:55944 1 PmK] End response
--------------------------------------------------Duration: 1,138.05 ms------------------------------you can only check by http response header if cache hit or not , PHP side log won’t do you any good , as if cache hit , no php execution
from your log , the request took about 1.1 second , not exactly excellent result but not bad either , I’d say it’s kind of acceptable range for a page that is not cached
the log only records the operation within/from our plugin , you may have other component that slow thing down , you can use tool like query string or profiling plugin to inspect on that
Hello qtwrk,
How do you know the page is not cached? I am lost because you are telling me I cannot know from this logs?
That is not ideal because I want google to find cached pages, not dynamic generated pages.
Do you know why my pages are not in cache for google? Is there a way of debuging that?
Regards ,the fundamental purpose for caching is to avoid PHP execution , when PHP is not executed, it will NOT write any log , no log , no tell
to this purpose , you need to customize the access log from server , not sure if you have access to that or not , for example , on one of my test servers, I changed the access log format to
Cache: %{X-LiteSpeed-Cache}o - %{REQUEST_SCHEME}i://%{Host}i - %D - %h %l %u %t \"%r\" %>s %b "%{User-agent}i"then I will have something like this in my access log
Cache: hit - https://www.xxx.com - *25898* - xxx.xxx.xxx.xxx - - [06/Jul/2025:12:15:48 +0200] "GET /xxx/xxx/ HTTP/2" 200 83050 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"
The topic ‘Query parameter inside URL in cache’ is closed to new replies.