フィード ファイルを圧縮する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
.json
ファイルまたは .pb3
ファイルは、アップロード前に gzip を使用して圧縮できます。これにより、1 日あたりのフィードのバイトサイズを大幅に削減できます。
各シャード ファイルは gzip
で個別にアップロードする必要があります(例: gzip *.json
)。圧縮されたフィード シャードは .json.gz
または .pb3.gz
で終わる必要があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eDaily feed file size can be significantly reduced by compressing them with gzip before uploading.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003e.json\u003c/code\u003e and \u003ccode\u003e.pb3\u003c/code\u003e files are eligible for compression.\u003c/p\u003e\n"],["\u003cp\u003eEach shard file needs individual gzip compression and the resulting compressed files should have the extension \u003ccode\u003e.json.gz\u003c/code\u003e or \u003ccode\u003e.pb3.gz\u003c/code\u003e respectively.\u003c/p\u003e\n"]]],["`.json` and `.pb3` files can be compressed with gzip to reduce file size. Each shard file must be individually compressed using gzip before uploading. Compressed files should use the extensions `.json.gz` or `.pb3.gz`. This process is recommended to minimize the size of daily data feeds. Individual compression is required.\n"],null,["# Compress feed files\n\nAny `.json` or `.pb3` file may be compressed using gzip before uploading.\nThis can significantly reduce the byte size of daily feeds.\n\nEach shard file should be `gzip`'d and uploaded individually\n(e.g. with `gzip *.json`). Compressed feed shards should end in\n`.json.gz` or `.pb3.gz`."]]