Selective file caching method
First Claim
1. A method for improving web application performance through selective file caching in a browser cache, the method comprising:
- altering a first filename to create a second filename, the first filename specifying a file on, a web server, wherein the second filename has a high probability of missing in the browser cache; and
issuing a request to the web server for the second filename.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for improving performance through selective file caching is disclosed. The caching policy of a client'"'"'s browser cache is set to cache all files. Web page files that reference a dynamic file include JavaScript code that mangles the dynamic filename, such that a reference by the web page file to the dynamic file is unique each time a browser, processes the web page file. In one embodiment, the filename is mangled by appending to it a known string followed by a 12-digit timestamp. Consequently, the mangled filename misses in the cache, forcing the browser to fetch the dynamic file from the web server. The web server recognizes the filename is in the mangled format, regenerates the original filename, and returns the file to the client. Static filenames are not mangled; hence, they are satisfied from the browser cache. The method also works to selectively defeat network caching.
-
Citations
53 Claims
-
1. A method for improving web application performance through selective file caching in a browser cache, the method comprising:
-
altering a first filename to create a second filename, the first filename specifying a file on, a web server, wherein the second filename has a high probability of missing in the browser cache; and
issuing a request to the web server for the second filename. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
-
-
30. A method for achieving selective file caching in a browser cache of a client computer, the method comprising:
-
at a web server, receiving http requests from the client computer, each of the http requests including a filename; and
for each of the http requests;
determining whether the filename is an altered form of an original filename specifying a file on the web server, the original filename having been altered to avoid the second filename hitting in the browser cache; and
regenerating the original filename from the filename included in the http request, if the filename included in the http request is an altered form of the original filename. - View Dependent Claims (31, 32, 33, 34, 35)
-
-
36. A method for effecting selective file caching in a web browser cache, the method comprising:
-
at a client computer;
setting a cache policy of the browser cache to cache all files whenever possible;
mangling a natural filename to create a mangled filename, wherein the natural filename refers to a file on a web server;
issuing to the web server an http request for the mangled filename;
at a web server;
receiving the http request;
regenerating the natural filename from the mangled filename; and
returning to the client computer the file referred to by the natural filename. - View Dependent Claims (37, 38, 39, 40, 41, 42, 43, 44, 45, 46)
-
-
47. A computer network, comprising:
-
a web server, for storing a first file having static content and a first filename, and second file having dynamic content and a second filename; and
a client computer, coupled to the web server, having a browser cache, said client computer configured to satisfy a request for said first file from said browser cache, and to issue to said web server an http request for said second file using a mangled version of said second filename, mangled to miss in said browser cache;
wherein said web server is configured to regenerate said second filename from said mangled filename and to return said second file to said client computer, in response to said http request. - View Dependent Claims (48, 49, 50, 51, 52, 53)
-
Specification