A validation-based http caching portlet markup and refresh method for server-side portlets embedded in a web 2.0 portal environment.

    公开(公告)号:GB2459019A

    公开(公告)日:2009-10-14

    申请号:GB0905247

    申请日:2009-03-27

    Applicant: IBM

    Abstract: Disclosed is a method for caching portlet markup in HTTP caches and is for server-side portlets on a portal with a client-side aggregation component in place. The invalidation method is based on cache tokens which are calculated by the server-side portal. When the portal receives an action request for a particular portlet, the portal will execute a dependency filter chain to detect the set of portlets that are affected. For each of these portlets a new cache token is calculated and transferred back to the client using special response headers. The client-side aggregation tracks the cache tokens for all portlets by storing them in a client-side token store. The cache tokens are used to validate received responses, the client-side aggregation compares the cache token from the response with the token from the client-side token store to check whether the response represents a stale cache entry. In the latter case, the client-side aggregation discards the response and sends a conditional HTTP HET request to the origin portal server to get the current markup of the respective portlet. On its way to the client, the stale cache entries are replaced with the fresh response returned by the origin portal server.

Patent Agency Ranking