Thursday, July 13th, 2006

Ajax as a Remedy for the Cacheability-Personalization Dilemma

Category: Programming, Usability

In his latest post from his blog today, Michael Mahemoff looks at a dilema that faces many an Ajax-enabled site out there trying to keep things lively and fresh – how can you personalize content *and* make the pages cacheable and bookmarkable?

Making it happen is actually somewhat simple, but there are a few things to consider first. The pages need to stick with clean URLs (it makes search engines happy), the pages need to be different for each user, and personalized URLs should still be consistent (to aid in sharing/usability).

The solution?

Create pages generically (same version for all users), and in this generic version, embed a remoting call which will customize the page for the current user. Serve http://example.com/fightclub to everyone. Then everyone’s browser makes a further call to grab custom content (Multi-Stage Download).

Check out the full post for complete details.

Posted by Chris Cornutt at 6:41 am
1 Comment

+++--
3.3 rating from 18 votes

1 Comment »

Comments feed TrackBack URI

humm i dont see the problem.. cookies, database .. etc.. there are many ways to solve this easily.

Comment by m3nt0r — July 14, 2006

Leave a comment

You must be logged in to post a comment.