Claims
- 1. A computer-implemented method for efficiently generating responses for repeated resource requests comprising:receiving a first request for a first resource, said first request comprising a resource identifier and request modifying information; determining whether generating a response for said first request requires parsing said request modifying information; and, if not, generating said response without parsing said request modifying information.
- 2. The computer-implemented method of claim 1 wherein the request modifying information includes request headers.
- 3. The computer-implemented method of claim 1 wherein generating the response for the first request requires parsing said request modifying information if the request is generated by executing instructions.
- 4. The computer-implemented method of claim 3 wherein parsing the request modifying information includes parsing only a subset of the request modifying information necessary for generating the request.
- 5. The computer-implemented method of claim 3 wherein the executing the instructions comprises executing a servlet.
- 6. The computer-implemented method of claim 3 wherein the executing the instructions comprises executing a script.
- 7. The computer-implemented method of claim 3 wherein the executing the instructions comprises executing a database query.
- 8. Apparatus comprising a processor, a memory, a network interface, and a file system, programmed instructions configuring said apparatus to accept connections in order to service requests by sending responses thereto, said apparatus further configured with programmed instructions comprising:a request receiver configured for receiving a first request for a first resource, said first request comprising a resource identifier and request modifying information; a response generator configured for generating a response to said first request and further configured for determining whether generating said response requires parsing said request modifying information; and a request modifying information parser configured to parse request modifying information only when said response generator determines generating said response requires parsing said request modifying information.
- 9. The apparatus of claim 8 wherein the response generator configured to determine that generating the response requires parsing if the response generator to generate the response by executing instructions.
- 10. The apparatus of claim 8 wherein the request modifying information parser configured to parse only a subset of the request modifying information necessary for generating the response.
- 11. The apparatus of claim 8 wherein the request modifying information includes request headers.
- 12. The apparatus of claim 9 wherein the instructions is a servlet.
- 13. The apparatus of claim 9 wherein the instructions is a database query.
- 14. The apparatus of claim 9 wherein the instructions is a script.
- 15. A computer program product comprising a computer-readable medium having computer readable instructions encoded thereon for reducing parsing of request modifying information, comprising;computer program instructions configured to cause a computer to receive a first request for a first resource, said first request comprising a resource identifier and request modifying information; computer program instructions configured to cause a computer to determine whether generating a response for said first request requires parsing said request modifying information; and computer program instructions configured to cause a computer to generate said response without parsing said request modifying information if generating said response does not require parsing said request modifying information.
Parent Case Info
This application is a divisional of U.S. patent application Ser. No. 09/318,493, filed May 25, 1999, now U.S. Pat. No. 6,513,062 issued Jan. 28, 2003.
US Referenced Citations (33)
Foreign Referenced Citations (4)
Number |
Date |
Country |
WO 9903047 |
Jan 1999 |
WO |
WO 9905619 |
Feb 1999 |
WO |
WO 9917227 |
Aug 1999 |
WO |
PCTUS0009820 |
May 2002 |
WO |