ddg171 / poripority

Websiteのリポジトリ
https://poripority.com/
0 stars 0 forks source link

staticでないページのレスポンシブ画像が生成されていない可能性 #226

Closed ddg171 closed 10 months ago

ddg171 commented 10 months ago

概要

firebase経由でのアクセス

Request URL:
https://poripority.com/_ipx/w_1536&f_webp/images/webp/top-img01w2000.webp
Request Method:
GET
Status Code:
204 No Content (from disk cache)
Remote Address:
199.36.158.100:443
Referrer Policy:
strict-origin-when-cross-origin
Accept-Ranges:
bytes
Alt-Svc:
h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
Cache-Control:
max-age=259200
Content-Type:
text/html
Date:
Tue, 14 Nov 2023 02:07:48 GMT
Permissions-Policy:
interest-cohort=()
Server:
Google Frontend
Vary:
Accept-Encoding,cookie,need-authorization, x-fh-requested-host, accept-encoding
X-Cache:
MISS
X-Cache-Hits:
0
X-Cloud-Trace-Context:
6c93f3e0fc06fa9ce14ed96b519536d7
X-Country-Code:
JP
X-Orig-Accept-Language:
ja,en-US;q=0.9,en;q=0.8
X-Served-By:
cache-itm18842-ITM
X-Timer:
S1699927668.129183,VS0,VE281

Cloudrunに直接アクセス

Request URL:
https://my-blog-hkwrfxq6ma-dt.a.run.app/_ipx/w_1536&f_webp/images/webp/top-img02w2000.webp
Request Method:
GET
Status Code:
200 OK (from memory cache)
Remote Address:
216.239.38.53:443
Referrer Policy:
strict-origin-when-cross-origin
Alt-Svc:
h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Content-Length:
34840
Content-Security-Policy:
default-src 'none'
Content-Type:
image/webp
Date:
Tue, 14 Nov 2023 02:05:36 GMT
Etag:
"8818-d0bSwfc8m8g72mvYR7kI5ib7ub8"
Last-Modified:
Thu, 09 Nov 2023 08:31:03 GMT
Server:
Google Frontend
Vary:
Accept-Encoding
X-Cloud-Trace-Context:
17ecd60ddd35a62b8a7a20ff7b70d000
Referer:
https://my-blog-hkwrfxq6ma-dt.a.run.app/
Sec-Ch-Ua:
"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"
Sec-Ch-Ua-Mobile:
?0
Sec-Ch-Ua-Platform:
"Windows"
User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
ddg171 commented 10 months ago

TOPページを生成する形に変更するのが一番早そう。 レスポンスも良くなるし

ddg171 commented 10 months ago

204が返った状態がキャッシュされている感じがする。