Method and system for cache management of locale-sensitive content
First Claim
1. A method for cache management and regeneration of dynamically-generated locale-sensitive content (“
- DGLSC”
) in one or more server computers within a client-server computer network, comprising the steps of;
receiving a first request for a web page from a first user at a client computer via a web browser;
determining said first user'"'"'s locale preference with an automatic locale detection algorithm, wherein a locale corresponds to at least a geographic region;
dynamically generating a first set of content for the requested web page from a template as a first DGLSC based on said first user'"'"'s locale preference;
receiving a second request for the web page from a second user having a second user'"'"'s locale preference;
dynamically generating a second set of content for the requested web page from the template as a second DGLSC based on the second user'"'"'s locale preference instead of the first DGLSC;
if said template is marked as cacheable to indicate that content generated from said template should be cached;
generating a first locale-sensitive filename for said first DGLSC based on said first user'"'"'s locale preference and associating said first DGLSC with said first locale-sensitive filename;
generating a second locale-sensitive filename for said second DGLSC based on said second user'"'"'s locale preference and associating said second DGLSC with said second locale sensitive filename;
caching said first DGLSC in at least one server computer in a locale-sensitive directory to be served in response to subsequent requests having the same locale preference as the first user'"'"'s locale preference and caching the second DGLSC in the locale-sensitive directory to be served in response to subsequent requests having the same locale preference as the second user'"'"'s locale preference; and
serving said first DGLSC to said first user at said client computer; and
serving said second DGLSC to said second user.
12 Assignments
0 Petitions
Accused Products
Abstract
A method and system are disclosed for cache management and regeneration of dynamically-generated locale-sensitive content (DGLSC) in one or more server computers within a client-server computer network. One embodiment of the method of this invention can comprise receiving a request for content from a user at a client computer and determining the user'"'"'s locale preference with, for example, an automatic locale detection algorithm. The requested content can be dynamically generated from a template as DGLSC based on the user locale preference. If the template is a cacheable template, a locale-sensitive filename can be generated for the DGLSC based on the user locale preference. The locale-sensitive filename can be associated with the DGLSC. The DGLSC can be cached in a locale-sensitive directory, such that it can be served (and thus avoid duplicative generation of the same content) in response to subsequent requests from users having the same locale preference The DGLSC is then served to the requesting user at his or her client computer.
187 Citations
19 Claims
-
1. A method for cache management and regeneration of dynamically-generated locale-sensitive content (“
- DGLSC”
) in one or more server computers within a client-server computer network, comprising the steps of;receiving a first request for a web page from a first user at a client computer via a web browser; determining said first user'"'"'s locale preference with an automatic locale detection algorithm, wherein a locale corresponds to at least a geographic region; dynamically generating a first set of content for the requested web page from a template as a first DGLSC based on said first user'"'"'s locale preference; receiving a second request for the web page from a second user having a second user'"'"'s locale preference; dynamically generating a second set of content for the requested web page from the template as a second DGLSC based on the second user'"'"'s locale preference instead of the first DGLSC; if said template is marked as cacheable to indicate that content generated from said template should be cached; generating a first locale-sensitive filename for said first DGLSC based on said first user'"'"'s locale preference and associating said first DGLSC with said first locale-sensitive filename; generating a second locale-sensitive filename for said second DGLSC based on said second user'"'"'s locale preference and associating said second DGLSC with said second locale sensitive filename; caching said first DGLSC in at least one server computer in a locale-sensitive directory to be served in response to subsequent requests having the same locale preference as the first user'"'"'s locale preference and caching the second DGLSC in the locale-sensitive directory to be served in response to subsequent requests having the same locale preference as the second user'"'"'s locale preference; and serving said first DGLSC to said first user at said client computer; and serving said second DGLSC to said second user. - View Dependent Claims (2, 3, 4, 5, 6, 7)
- DGLSC”
-
8. A software product embodied in a computer-readable medium carrying program instructions comprising instructions executable by a processor to:
-
receive a first request for a web page from a first user at a client computer via a web browser; determine said first user'"'"'s locale preference with an automatic locale detection algorithm wherein a locale corresponds to at least a geographic region; dynamically generate said content for the requested web page from a template as first dynamically-generated locale-sensitive content (“
DGLSC”
) based on said first user'"'"'s locale preference;receive a second request for the web page from a second user having a second user'"'"'s locale preference; dynamically generate a second set of content for the requested web page from the template as a second DGLSC based on the second user'"'"'s locale preference instead of the first DGLSC; and if said template is marked as cacheable to indicate that content generated from said template should be cached; generate a first locale-sensitive filename for said first DGLSC based on said first user'"'"'s locale preference and associate said first DGLSC with said first locale-sensitive filename; generate a second locale-sensitive filename for said second DGLSC based on said second user'"'"'s locale preference and associate said second DGLSC with said second locale sensitive filename; cache said first DGLSC in at least one server computer in a locale-sensitive directory to be served in response to subsequent requests having the same locale preference as the first user'"'"'s locale preference and cache the second DGLSC in the locale-sensitive directory to be served in response to subsequent requests having the same locale preference as the second user'"'"'s locale preference.
-
-
9. A computer system comprising a processor in communication with a computer readable medium carrying programming instructions, said programming instructions comprising instructions executable to:
-
receive a first request for a web page from a first user at a client computer via a web browser; determine said first user'"'"'s locale preference with an automatic locale detection algorithm wherein a locale corresponds to at least a geographic region; dynamically generate said content for the requested web page from a template as first dynamically-generated locale-sensitive content (“
DGLSC”
) based on said first user'"'"'s locale preference;receive a second request for the web page from a second user having a second user'"'"'s locale preference; dynamically generate a second set of content for the requested web page from the template as a second DGLSC based on the second user'"'"'s locale preference instead of the first DGLSC; and if said template is marked as cacheable to indicate that content generated from said template should be cached; generate a first locale-sensitive filename for said first DGLSC based on said first user'"'"'s locale preference and associate said first DGLSC with said first locale-sensitive filename; generate a second locale-sensitive filename for said second DGLSC based on said second user'"'"'s locale preference and associate said second DGLSC with said second locale sensitive filename; cache said first DGLSC in at least one server computer in a locale-sensitive directory to be served in response to subsequent requests having the same locale preference as the first user'"'"'s locale preference and cache the second DGLSC in the locale-sensitive directory to be served in response to subsequent requests having the same locale preference as the second user'"'"'s locale preference.
-
-
10. A method for cache management and regeneration of dynamically-generated locale-sensitive content in a client-server computer network, comprising the steps of:
-
receiving a first request for content corresponding to a web sage from a first user at a client computer in said client-server computer network; receiving a second request for the content corresponding to the web page from a second user; determining said first user'"'"'s locale, wherein a locale corresponds to at least a geographic region; determining said second user'"'"'s locale, determining if a first locale-sensitive version of the content requested by the first user corresponding to the first user'"'"'s locale is cached and if not; dynamically generating a first locale-sensitive version of the content based on said first user'"'"'s locale and in accordance with said first request; dynamically generating a first locale-sensitive filename for said first locale-sensitive version of the content based on said first user'"'"'s locale; caching said first locale-sensitive version of the content under the first locale-sensitive file name in a locale-sensitive directory; and serving said first locale-sensitive version of the content to said first user; determining if a second locale-sensitive version of the content requested by the second user corresponding to the second user'"'"'s locale is cached and if not; dynamically generating a second locale-sensitive version of the content based on said second user'"'"'s locale and in accordance with said second request; dynamically generating a second locale-sensitive filename for said second locale-sensitive version of the content based on said second user'"'"'s locale; caching said second locale-sensitive version of the content under the second locale-sensitive file name in a locale-sensitive directory; and serving said second locale-sensitive version of the content to said second user. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A software product embodied in a computer-readable medium carrying program instructions comprising instructions executable by a processor to:
-
receive a first request for content corresponding to a web page from a first user at a client computer in said client-server computer network; receive a second request for the content corresponding to the web page from a second user; determine said first user'"'"'s locale, wherein a locale corresponds to at least a geographic region; determine said second user'"'"'s locale, determine if a first locale-sensitive version of the content requested by the first user corresponding to the first user'"'"'s locale is cached and if not; dynamically generate a first locale-sensitive version of the content based on said first user'"'"'s locale and in accordance with said first request; dynamically generate a first locale-sensitive filename for said first locale-sensitive version of the content based on said first user'"'"'s locale; cache said first locale-sensitive version of the content under the first locale-sensitive file name in a locale-sensitive directory; and serve said first locale-sensitive version of the content to said first user; determine if a second locale-sensitive version of the content requested by the second user corresponding to the second user'"'"'s locale is cached and if not; dynamically generate a second locale-sensitive version of the content based on said second user'"'"'s locale and in accordance with said second request; dynamically generate a second locale-sensitive filename for said second locale-sensitive version of the content based on said second user'"'"'s locale; cache said second locale-sensitive version of the content under the second locale-sensitive file name in a locale-sensitive directory; and serve said second locale-sensitive version of the content to said second user.
-
-
19. A computer system comprising a processor in communication with a computer readable medium carrying programming instructions, said programming instructions comprising instructions executable to:
-
receive a first request for content corresponding to a web page from a first user at a client computer in said client-server computer network; receive a second request for the content corresponding to the web page from a second user; determine said first user'"'"'s locale, wherein a locale corresponds to at least a geographic region; determine said second user'"'"'s locale, determine if a first locale-sensitive version of the content requested by the first user corresponding to the first user'"'"'s locale is cached and if not; dynamically generate a first locale-sensitive version of the content based on said first user'"'"'s locale and in accordance with said first request; dynamically generate a first locale-sensitive filename for said first locale-sensitive version of the content based on said first user'"'"'s locale; cache said first locale-sensitive version of the content under the first locale-sensitive file name in a locale-sensitive directory; and serve said first locale-sensitive version of the content to said first user; determine if a second locale-sensitive version of the content requested by the second user corresponding to the second user'"'"'s locale is cached and if not; dynamically generate a second locale-sensitive version of the content based on said second user'"'"'s locale and in accordance with said second request; dynamically generate a second locale-sensitive filename for said second locale-sensitive version of the content based on said second user'"'"'s locale; cache said second locale-sensitive version of the content under the second locale-sensitive file name in a locale-sensitive directory; and serve said second locale-sensitive version of the content to said second user.
-
Specification