Selective file caching method
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 11.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
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.
- Claim 2Depends on #1
The method of claim 1 , further comprising: setting a cache policy of the browser cache to always cache files whenever possible, prior to said altering a first filename to create a second filename.
- Claim 3Depends on #1
The method of claim 1 , wherein said altering and said issuing are performed by a client computer coupled to the web server by a network.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (3)
- "How Disk Caching Works in Java Plug-in"; http://java.sun.com/products/plugin/1.3/docs/cache.html; Jun. 25, 2003.
- "How to Prevent the Storing of File in the Hard Disk Cache"; http://www.web-caching.com/forums/Forum1/HTML/000233.html; Jun. 25, 2003.
- NetCloak Version 3.1 User's Guide: Serving Cloaked Files, 1996-2999, 3 page exerpt.