Hi @markhowellsmead,
the old post is now 7 months old without any answer, but I’d assume the reported issue is the very same: Facebook always gets HTTP 206
First pleas note that I do not have any clue what the FB debugger does. Nevertheless let’s try tracking down the issue.
According to the HTML signature you’re using HDD caching.
Furthermore from reading the sources and plugin files, you’re using WP 5.8.2 with Cachify 2.3.2.
Next, let’s have a look into the response headers for cached and uncached requests (headers with different contents only):
Cached:
Content-Type: text/html
Last-Modified: Sat, 20 Nov 2021 18:16:13 GMT
Etag: "199a8-61993b6d-97ee3b82b6c57da1;;;"
Accept-Ranges: bytes
Content-Length: 104872
Uncached:
Content-Type: text/html; charset=UTF-8
X-Pingback: https://permanenttourist.ch/xmlrpc.php
Link: <https://permanenttourist.ch/wp-json/>; rel="https://api.w.org/"
Link: <https://permanenttourist.ch/wp-json/wp/v2/posts/62742>; rel="alternate"; type="application/json"
Link: <https://permanenttourist.ch/?p=62742>; rel=shortlink
When static content (i.e. cached HTML file) is served, the webserver accepts partial content, indicated by the Accept-Ranges header (MDN), so 206 codes are probably fine when partial content is actually requested.
E.g. requests like
$ curl -i -H 'Range: bytes=0-1024' https://permanenttourist.ch/2021/11/axalp-in-the-snow/
$ curl -i -H 'Range: bytes=1024-2048' https://permanenttourist.ch/2021/11/axalp-in-the-snow/
do exactly what they are expected to do, deliver first and second 1kB-slice with status 206 and header Content-Range: bytes 0-1024/104872.
Second the Content-Type header (MDH) is missing a charset value, that’s what might lead to a bad encoding error.
Are you in control of any webserver settings?
Do you have access to server logs that indicate the request headers the FB debugger uses?
Try opening a cached HTML file from the wp-content/cache/cachify/ directory and verify the encoding in a text editor of choice.
Second thing I would try is placing an arbitrary HTML file anywhere on the server and see what the FB debugger does with that.
Cheers,
Stefan