Cache miss
-
Hi,
All cache miss page have an additional XHR request intiationed by
<script data-dont-merge>var xhr = new XMLHttpRequest();xhr.open('GET', document.location.href);xhr.setRequestHeader('X-merge-assets', 'true');xhr.send(null);</script>
From the naming, it seems this script is used for merge js and CSS, but after turnning js and CSS merge off, it’s still there.
I tried to figure it out by enabling log (wp-rocket Nginx have a debug option which is useful to know why a page is not hit, by checking header “X-Rocket-Nginx-Reason”), it says “Thread for https://www.xxx.com/request/ is not available”
I don’t know what’s this means. The server’s load is low, the page has been cached, sometimes a cache miss page would turn into a hit page.
- The topic ‘Cache miss’ is closed to new replies.