Thursday, July 13th, 2006
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).
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