Abstract:
A router can be configured to serve web resources in response to expected web resource requests without requesting such resources from a corresponding remote web server. In an example, this functionality can be achieved by the router, wherein the router is configured to: receive a web resource access request from a terminal device, the web resource access request including a target uniform resource locator (URL); perform a search in a data structure containing a plurality of local URLs according to the target URL; identify a local URL of the plurality of URLs corresponding to the target URL according to the performed search; acquire a local version of a target web resource corresponding to the target URL from locally stored web resources according to the identified local URL; and communicate the local version of the target web resource to the terminal device.
Abstract:
The present disclosure relates to a method and an apparatus for finding a file in a storage device, and a router. The method includes: establishing an index for a specified file in the storage device according to file classifications or an identification of a device that uploaded the file, the storage device being a storage device configured in the router; and providing a classification view of the specified file for a user device, the classification view including identifications of the respective file classifications. The present disclosure provides the classification of the specified file for the user device by according to file types or the identification of the device for uploading the file, so that different user devices may more flexibly perform classification finding when viewing files in the storage device of the router, whereby it is convenient for a user to find the file, the operation is simple and efficient, and the user's experience is good.