摘要 |
A method and system is provided for a server to provide data to a client. A client user requests presentation of a data file that is associated with time-to-live data and a hash. If the time-to-live data is not expired, the client presents to the user a data file stored at the client. If the time-to-live data is expired, the client requests the server to send the hash associated with the latest version of the data file stored at the server. The client determines whether the hashes match. If the hashes match, the client presents the data file stored at the client. If the hashes do not match, the client requests that the server provide the client with the latest version of the data file. After receiving the latest version of the data file, the client presents to the user the latest version of the data file.
|