Thursday, July 13th, 2006
Ajax as a Remedy for the Cacheability-Personalization Dilemma
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.












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