Claims
- 1. An apparatus comprising:
primary memory; secondary memory; and logic operatively coupled to said primary and secondary memory and configured to selectively store template data in a first level template cache in said primary memory and to selectively store at least a portion of said template data in at least one subsequent level template cache in said secondary memory.
- 2. The apparatus as recited in claim 1, wherein said template data includes at least a template flat structure portion associated with at least a portion of at least one web page.
- 3. The apparatus as recited in claim 2, wherein said template data further includes a template meta information portion associated with said template flat structure portion.
- 4. The apparatus as recited in claim 1, wherein said first level template cache includes a buffer suitable for storing template data associated with at least one web page.
- 5. The apparatus as recited in claim 4, wherein said logic is configured to selectively store said template data associated with said web page in said buffer if said logic determines that a web request demand level for said web page exceeds a first level threshold value.
- 6. The apparatus as recited in claim 5, wherein said web request demand level is determined over a defined period of time by said logic.
- 7. The apparatus as recited in claim 5, wherein said logic is configured to selectively stop storing said template data associated with said web page in said buffer if said logic determines that said web request demand level for said web page does not exceed a first level threshold value.
- 8. The apparatus as recited in claim 7, wherein said logic is configured to selectively store at least a portion of said template data associated with said web page in said secondary memory if said logic determines that said web request demand level for said web page does not exceed said first level threshold value.
- 9. The apparatus as recited in claim 8, wherein said logic is configured to selectively stop storing said template data associated with said web page in said secondary memory if said logic determines that said web request demand level for said web page does not exceed a subsequent level threshold value.
- 10. The apparatus as recited in claim 8, wherein said logic is configured to selectively store at least a second portion of said template data associated with said web page in said primary memory, but not in said buffer, if said logic determines that said web request demand level for said web page does not exceed said first level threshold value.
- 11. The apparatus as recited in claim 10, wherein said logic is configured to selectively stop storing said portion of template data associated with said web page in said secondary memory if said logic determines that said web request demand level for said web page does not exceed a subsequent level threshold value.
- 12. The apparatus as recited in claim 4, wherein said logic is configured to use said buffer based on a Least Recently Used (LRU) buffering scheme.
- 13. The apparatus as recited in claim 1, wherein said primary memory includes solid state memory circuits and said secondary memory includes at least one data storage medium selected from a group of data storage media including magnetic disk media, magnetic tape media, and optical disc media.
- 14. The apparatus as recited in claim 1, wherein said logic includes at least one processing unit.
- 15. The apparatus as recited in claim 1, wherein said logic further includes:
compiler logic configured to generate at least a portion of said template data based on at least one file; and template persisting logic operatively coupled to said complier logic, said primary memory and said secondary memory and configured to selectively store at least a portion of said template data generated by said compiler logic in said primary memory and said secondary memory.
- 16. The apparatus as recited in claim 15, wherein said logic further includes:
delivery logic operatively coupled to said complier logic, said template persisting logic, said primary memory and said secondary memory, and configured to output at least a portion of a web page using said stored template data.
- 17. The apparatus as recited in claim 1, wherein said template data includes Active Server Page (ASP) template data.
- 18. The apparatus as recited in claim 1, wherein at least a portion of said logic is part of a web server device.
- 19. The apparatus as recited in claim 18, wherein said web server device includes at least one computer.
- 20. A method for use in a web server device having at least one processing unit, primary memory and secondary memory, the method comprising:
selectively storing template data in a first level template cache in said primary memory; and subsequently selectively storing at least a portion of said template data in at least one subsequent level template cache in said secondary memory.
- 21. The method as recited in claim 20, wherein said template data includes at least a template flat structure portion associated with at least a portion of at least one web page.
- 22. The method as recited in claim 21, wherein said template data further includes a template meta information portion associated with said template flat structure portion.
- 23. The method as recited in claim 20, wherein said first level template cache includes a buffer suitable for storing template data associated with at least one web page.
- 24. The method as recited in claim 23, wherein selectively storing template data in said first level template cache in said primary memory further includes determining if a web request demand level for said web page exceeds a first level threshold value and if so, then selectively storing template data in said first level template cache.
- 25. The method as recited in claim 24, further comprising determining said demand level during a defined period of time.
- 26. The method as recited in claim 24, further comprising not storing said template data associated with said web page in said buffer if said web request demand level for said web page does not exceed a first level threshold value.
- 27. The method as recited in claim 26, further comprising selectively storing at least a portion of said template data associated with said web page in said secondary memory if said web request demand level for said web page does not exceed said first level threshold value.
- 28. The method as recited in claim 27, further comprising not storing said template data associated with said web page in said secondary memory if said web request demand level for said web page does not exceed a subsequent level threshold value.
- 29. The method as recited in claim 27, further comprising selectively storing at least a second portion of said template data associated with said web page in said primary memory, but not in said buffer, if said web request demand level for said web page does not exceed said first level threshold value.
- 30. The method as recited in claim 29, further comprising not storing said portion of template data associated with said web page in said secondary memory if said web request demand level for said web page does not exceed a subsequent level threshold value.
- 31. The method as recited in claim 23, further comprising using a Least Recently Used (LRU) buffering scheme to control said buffer.
- 32. The method as recited in claim 20, wherein said primary memory includes solid state memory circuits and said secondary memory includes at least one data storage medium selected from a group of data storage media including magnetic disk media, magnetic tape media, and optical disc media.
- 33. The method as recited in claim 20, further comprising:
generating at least a portion of said template data based on at least one file; and outputting at least a portion of a web page using said stored template data.
- 34. The method as recited in claim 20, wherein said template data includes Active Server Page (ASP) template data.
- 35. A computer-readable medium having computer implementable instructions for configuring at least one processing unit operatively coupled to a primary memory and at least one secondary memory to perform acts comprising:
selectively storing template data in a first level template cache in said primary memory; and subsequently selectively storing at least a portion of said template data in at least one subsequent level template cache in said secondary memory.
- 36. The computer-readable medium as recited in claim 35, wherein said template data includes at least a template flat structure portion associated with at least a portion of at least one web page.
- 37. The computer-readable medium as recited in claim 36, wherein said template data further includes a template meta information portion associated with said template flat structure portion.
- 38. The computer-readable medium as recited in claim 35, wherein said first level template cache includes a buffer suitable for storing template data associated with at least one web page.
- 39. The computer-readable medium as recited in claim 38, wherein selectively storing template data in said first level template cache in said primary memory further includes determining if a web request demand level for said web page exceeds a first level threshold value and if so, then selectively storing template data in said first level template cache.
- 40. The computer-readable medium as recited in claim 39, further comprising determining said demand level during a defined period of time.
- 41. The computer-readable medium as recited in claim 39, further comprising not storing said template data associated with said web page in said buffer if said web request demand level for said web page does not exceed a first level threshold value.
- 42. The computer-readable medium as recited in claim 41, further comprising selectively storing at least a portion of said template data associated with said web page in said secondary memory if said web request demand level for said web page does not exceed said first level threshold value.
- 43. The computer-readable medium as recited in claim 42, further comprising not storing said template data associated with said web page in said secondary memory if said web request demand level for said web page does not exceed a subsequent level threshold value.
- 44. The computer-readable medium as recited in claim 42, further comprising selectively storing at least a second portion of said template data associated with said web page in said primary memory, but not in said buffer, if said web request demand level for said web page does not exceed said first level threshold value.
- 45. The computer-readable medium as recited in claim 44, further comprising not storing said portion of template data associated with said web page in said secondary memory if said web request demand level for said web page does not exceed a subsequent level threshold value.
- 46. The computer-readable medium as recited in claim 38, further comprising using a Least Recently Used (LRU) buffering scheme to control said buffer.
- 47. The computer-readable medium as recited in claim 35, wherein said primary memory includes solid state memory circuits and said secondary memory includes at least one data storage medium selected from a group of data storage media including magnetic disk media, magnetic tape media, and optical disc media.
- 48. The computer-readable medium as recited in claim 35, further comprising:
generating at least a portion of said template data based on at least one file; and outputting at least a portion of a web page using said stored template data.
- 49. The computer-readable medium as recited in claim 35, wherein said template data includes Active Server Page (ASP) template data.
RELATED PATENT APPLICATIONS
[0001] This U.S. patent application claims the benefit of priority from, and hereby incorporates by reference the entire disclosure of, co-pending U.S. Provisional Patent Application Serial No. 60/366,794, filed Mar. 22, 2002, and titled “ASP Persisted Template Cache”.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60366794 |
Mar 2002 |
US |