Method and system for caching role-specific fragments
    1.
    发明申请
    Method and system for caching role-specific fragments 有权
    用于缓存角色特定片段的方法和系统

    公开(公告)号:US20080005273A1

    公开(公告)日:2008-01-03

    申请号:US11854606

    申请日:2007-09-13

    IPC分类号: G06F15/16

    摘要: A method, a system, an apparatus, and a computer program product are presented for a fragment caching methodology. After a message is received at a computing device, a fragment in the message body is cached. Cache ID rules from an origin server accompany a fragment to describe a method for forming a unique cache ID for the fragment such that dynamic content can be cached away from an origin server. A cache ID may be based on a URI and/or query parameters and/or cookies that are associated with a fragment. After user authentication, a cookie containing the user's role may be used in subsequent requests for role-specific fragments and in the cache identifier for role-specific fragments, thereby allowing requests from other users for role-specific fragments to be resolved in the cache when the users have the same role because these users would also have the same cookie.

    摘要翻译: 提出了一种用于片段缓存方法的方法,系统,装置和计算机程序产品。 在计算设备接收到消息后,消息体中的片段被缓存。 来自原始服务器的缓存ID规则伴随片段来描述用于为片段形成唯一缓存ID的方法,使得动态内容可以从原始服务器缓存。 缓存ID可以基于与片段相关联的URI和/或查询参数和/或cookie。 在用户身份验证之后,包含用户角色的cookie可能会用于后续对特定于角色的片段的请求以及特定于角色的片段的缓存标识符,从而允许来自其他用户的角色特定片段的请求在缓存中解析 用户具有相同的角色,因为这些用户也将具有相同的cookie。