Nén tệp nguồn cấp dữ liệu
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bạn có thể nén mọi tệp .json
hoặc .pb3
bằng gzip trước khi tải lên.
Điều này có thể làm giảm đáng kể kích thước byte của nguồn cấp dữ liệu hằng ngày.
Mỗi tệp phân đoạn phải được gzip
và tải lên riêng lẻ (ví dụ: bằng gzip *.json
). Các phân đoạn nguồn cấp dữ liệu được nén phải kết thúc bằng .json.gz
hoặc .pb3.gz
.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eDaily feed file size can be significantly reduced by compressing \u003ccode\u003e.json\u003c/code\u003e and \u003ccode\u003e.pb3\u003c/code\u003e files with \u003ccode\u003egzip\u003c/code\u003e before uploading.\u003c/p\u003e\n"],["\u003cp\u003eEach shard file, such as \u003ccode\u003e.json\u003c/code\u003e or \u003ccode\u003e.pb3\u003c/code\u003e, needs to be individually compressed with \u003ccode\u003egzip\u003c/code\u003e and uploaded with a \u003ccode\u003e.json.gz\u003c/code\u003e or \u003ccode\u003e.pb3.gz\u003c/code\u003e extension.\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`."]]