Claims
- 1. A system for caching and filtering responses in an application server environment, comprising:
a web server component, including a web application or servlet for receiving uniform resource indicator requests and passing said requests to the application server; and, a servlet filter for intercepting said uniform resource indicator requests and returning cached responses.
- 2. The system of claim 1 wherein said servlet filter provides caching for both static and dynamic content for web applications, servlets and jsp's.
- 3. The system of claim 1 wherein said cache filter caches on a page level.
- 4. The system of claim 1 wherein the caching parameters are declared inside a Web document accessed as part of the uniform resource indicator request.
- 5. The system of claim 1 wherein the caching parameters are declared in the configuration of the web application or servlet.
- 6. The system of claim 1 wherein the set of cache parameters that define how the cache operates can be defined by an administrator.
- 7. The system of claim 1 wherein the cache filter includes support for pages that were not included from another page by automatically caching the response headers Content-Type and Last-Modified fields.
- 8. The system of claim 7 wherein the system compares the If-Modified-Since request header to the Last-Modified response header to determine whether it needs to actually serve the content in response to the request.
- 9. The system of claim 1 wherein a cache filter can be registered to cache all of the HTML pages in a web application matching a particular uniform resource indicator pattern.
- 10 A method of caching and filtering responses in an application server environment, comprising the steps of:
receiving uniform resource indicator requests at a web server component or servlet for communication to the application server; and, intercepting said uniform resource indicator requests using a servlet filter, and returning cached responses.
- 11. The method of claim 10 wherein said servlet filter provides caching for both static and dynamic content for web applications, servlets and jsp's.
- 12. The method of claim 10 wherein said cache filter caches on a page level.
- 13. The method of claim 10 wherein the caching parameters are declared inside a Web document accessed as part of the uniform resource indicator request.
- 14. The method of claim 10 wherein the caching parameters are declared in the configuration of the web application or servlet.
- 15. The method of claim 10 wherein the set of cache parameters that define how the cache operates can be defined by an administrator.
- 16. The method of claim 10 wherein the cache filter includes support for pages that were not included from another page by automatically caching the response headers Content-Type and Last-Modified fields.
- 17. The method of claim 16 further comprising the step of:
comparing the If-Modified-Since request header to the Last-Modified response header to determine whether it needs to actually serve the content in response to the request.
- 18. The method of claim 10 wherein a cache filter can be registered to cache all of the HTML pages in a web application matching a particular uniform resource indicator pattern.
CLAIM OF PRIORITY
[0001] This application claims priority from provisional application “SYSTEM AND METHOD FOR URL RESPONSE CACHING AND FILTERING IN SERVLETS AND APPLICATION SERVERS” Application No. 60/349,443 filed Jan. 18, 2002, and which application is incorporated herein by reference.
[0002] This application is related to U.S. Provisional Patent Application No. 60/349,546, entitled “SYSTEM AND METHOD FOR PLUGGABLE URL PATTERN MATCHING FOR SERVLETS AND APPLICATION SERVERS”, filed Jan. 18, 2002 and U.S. Provisional Patent Application No. 60/349,466, entitled “SYSTEM AND METHOD FOR USING VIRTUAL DIRECTORIES TO SERVICE URL REQUESTS IN APPLICATION SERVERS”, filed Jan. 18, 2002, both of which applications are incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60349443 |
Jan 2002 |
US |