Mengompresi file feed
Setiap file .json
atau .pb3
dapat dikompresi menggunakan gzip sebelum diupload.
Hal ini dapat mengurangi ukuran byte feed harian secara signifikan.
Setiap file shard harus di-gzip
dan diupload satu per satu
(misalnya, dengan gzip *.json
). Shard feed yang dikompresi harus diakhiri dengan
.json.gz
atau .pb3.gz
.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-26 UTC.
[null,null,["Terakhir diperbarui pada 2024-11-26 UTC."],[[["Daily feed file size can be significantly reduced by compressing `.json` and `.pb3` files with `gzip` before uploading."],["Each shard file, such as `.json` or `.pb3`, needs to 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"]]