Сжимать файлы каналов
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Любой файл .json
или .pb3
перед загрузкой можно сжать с помощью gzip. Это может значительно уменьшить размер ежедневных каналов в байтах.
Каждый файл сегмента должен быть заархивирован gzip
и загружен отдельно (например, с помощью gzip *.json
). Осколки сжатого фида должны заканчиваться на .json.gz
или .pb3.gz
.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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`."]]