Google や Google サービスの電話番号

とりあえず、何か必要なときがありそうなので、

集めていく。

グーグル株式会社
〒106-6126
東京都港区六本木 6 丁目 10 番 1 号
六本木ヒルズ森タワー 私書箱 22 号
TEL: 03-6384-9000
FAX: 03-6384-9001

Google Play
電話番号:0120-950-065
営業時間:9時~18時(年中無休)

Google 広告
電話番号:0120-590-092
営業時間:月曜~木曜 9時30分~18時
     金曜の場合 9時30分~16時

その他、あれば追記していきます。


WordPress で cf-cache-status: BYPASS のままで HIT にならない

私の場合だけども、cloudflare で。


❯ curl -sI https://android.benigumo.com/ | grep 'cf-cache'
cf-cache-status: BYPASS

どうやっても「HIT」にならない。

レスポンスヘッダーに set-cookie があると cloudflare のキャッシュが効かなくなるらしい。

Additionally, the following headers have given me grief with CF in the past, they should not be present:

Set-Cookie

👉 CF-CACHE-STATUS showing BYPASS - Website, Application, Performance - Cloudflare Community

確認すると、謎の cookie セットがある。


❯ curl -sI https://android.benigumo.com/
HTTP/2 200
date: Sun, 02 Feb 2025 06:42:13 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
vary: accept, content-type
set-cookie: 6666cd76f96956469e7be39d750cc7d9=1738478533; expires=Sun, 02-Feb-2025 07:42:13 GMT; Max-Age=3600; path=/

web リソース内を grep して、

あやしそうなプラグインを特定後、無効化しながら確認する。

私の場合は、中華産プラグインでした。

削除後。


❯ curl -sI https://android.benigumo.com/ | grep 'cf-cache'
cf-cache-status: HIT

1秒あたり15リクエストしか返せなかったのが、

キャシュが効いて71リクエストを返せるようになりました!


❯ wrk https://android.benigumo.com
Running 10s test @ https://android.benigumo.com
  2 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   201.93ms  252.04ms   1.57s    88.06%
    Req/Sec    38.47     20.07    90.00     63.01%
  713 requests in 10.03s, 68.66MB read
  Socket errors: connect 0, read 0, write 0, timeout 1
Requests/sec:     71.06
Transfer/sec:      6.84MB

Cloudfrare プラグインは有料化への誘導なだけなので、

記事の更新や追加時のキャッシュのパージは手動で行います。


【Kotlin】Android アプリ 課金実装時の ProductDetails や Purchase の内容

公式ドキュメントの解読には骨が折れる。

詳細どんなものが含まれているのか。

Timber ですが、純正 Log でもいけるので置き換えてどうぞ。

👉 JakeWharton/timber: A logger with a small, extensible API which provides utility on top of Android's normal Log class.