An improved method and system for client-side caching that transparently
caches suitable network files for offline use. A cache mechanism in a
network redirector transparently intercepts requests to access server
files, and if the requested file is locally cached, satisfies the request
from the cache when possible. Otherwise the cache mechanism creates a
local cache file and satisfies the request from the server, and also
fills in a sparse cached file as reads for data in ranges that are
missing in the cached file are requested and received from the server. A
background process also fills in local files that are sparse, using the
existing handle of already open server files, or opening, reading from
and closing other server files. Security is also provided by maintaining
security information received from the server for files that are in the
cache, and using that security information to determine access to the
file when offline.
Um método e um sistema melhorados para o cliente-lado que caching que caches transparente a rede apropriada arquivam para o uso fora de linha. Um mecanismo do esconderijo em um redirector da rede intercepta transparente pedidos alcançar limas do usuário, e se a lima pedida cached localmente, satisf ao pedido do esconderijo quando possível. Se não o mecanismo do esconderijo cría uma lima local do esconderijo e satisf ao pedido do usuário, e enche também dentro uma lima cached escassa como lê para dados nas escalas que faltam na lima cached são pedidas e recebidas do usuário. Um processo de fundo preenche também as limas locais que são escassas, usando o punho existente de limas já abertas do usuário, ou abrindo, lendo de e fechando outras limas do usuário. A segurança for fornecida também mantendo a informação da segurança recebida do usuário para as limas que estão no esconderijo, e usando essa informação da segurança determinar o acesso à lima quando fora de linha.