3 ms·
One good optimization would be caching the first ~512 bytes of each file—enough to make libmagic-based programs (which includes a lot of search-indexing systems
by derefr 11y ago
One good optimization would be caching the first ~512 bytes of each file—enough to make libmagic-based programs (which includes a lot of search-indexing systems, grep's binary-file-skipping, etc.) happy. With this in place, "opaque" files that an indexer doesn't want to look into could be left in the cloud, while only the files that actually need to be content-indexed would be downloaded.