压缩 Feed 文件
任何 .json
或 .pb3
文件都可以在上传前使用 gzip 进行压缩。
这可以显著缩减每日 Feed 的字节大小。
每个分片文件都应进行 gzip
处理,并单独上传(例如使用 gzip *.json
)。压缩后的 Feed 分片应以 .json.gz
或 .pb3.gz
结尾。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-26。
[null,null,["最后更新时间 (UTC):2024-11-26。"],[[["Daily feed file size can be significantly reduced by compressing `.json` and `.pb3` files using gzip before uploading."],["Each shard file, such as `.json` or `.pb3`, should be individually compressed with `gzip` and uploaded with a `.json.gz` or `.pb3.gz` extension."]]],["`.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"]]