壓縮動態饋給檔案
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
任何 .json
或 .pb3
檔案都可以在上傳前使用 gzip 壓縮。這樣做可大幅縮減每日動態饋給的位元組大小。
每個分片檔案都應個別進行 gzip
' 和上傳 (例如使用 gzip *.json
)。壓縮的動態饋給分片應以 .json.gz
或 .pb3.gz
結尾。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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`."]]