| «« Make a <div> not 100% wide? | Page Caching and Time Zones »» |
|
About
I'm Ryan Lowe, a Software Engineering graduate living in Ottawa, Canada. I like agile software development and Ruby on Rails.
I write this blog in Canadian English and don't use a spell checker. Typos happen.
Projects
» Full-time Ruby on Rails freelancer
» Full-time with Rails since May 2005 » Former committer for RadRails (now Aptana) » I also have a few Rails side-projects in development: 1. wheretogoinTO.com Toronto nightlife 2. Hey Heads Up! TODO list and sharing 3. Layered Genealogy family history research 4. foos for foosball scoring 5. fanconcert for music fans (on hold) Hiring Rails developers? I can telecommute by the hour from Ottawa, Canada »» Email: rails AT ryanlowe DOT ca
BulletBlog
Now hosted on Hey! Heads Up -- check it out!
Syndication
Pings
Recent
Derek Lowe's (Ryan's older brother) words at Ryan's funeral
blog@ryanlowe.ca no more Forging Email Headers: Good, Bad or Ugly? Sarcastic Dictionary (Part 1 of Many) Tags Hierarchies Twisting Rails is Risky Business Risky Business? My Take on Early Alphas Whoa, it's August 2007 Closing Comments A Postscript to "Growth at the grassroots" »» All Blog Posts
Linkage
del.icio.us/ryanlowe
technorati/ryanlowe.ca/blog Aurora Roy Jim Andrew Trasker Travis Kibbee Karen Dr. Unk Ayana Van Bloggers Joel Spolsky Robert Scoble Tim Bray Dave Winer Raymond Chen James Robertson Ruby/Rails Bloggers rubyonrails.org weblog David Heinemeier Hansson Dave Thomas James Duncan Davidson Mike Clark Jamis Buck Signal vs. Noise Tobias Luetke Amy Hoy: (24)slash7 Jeremy Voorhis Eclipse Bloggers Planet Eclipse EclipseZone Luis de la Rosa Eclipse Foundation Kim Horne Billy Biggs Ian Skerrett Mike Milinkovich Bjorn Freeman-Benson Denis Roy
Archives
|
Page Caching and Personalized Content
FanConcert has a lot of content that can be read anonymously (like artist pages) but can also be personalized if a member is looking at it. This brings up an interesting problem when I want do page caching. Page caching lets you keep around a static copy of a dynamic page, so if there have been no changes to a dynamic page since the last time it was requested, you just send the static copy. This can save server processing time and make the server seem faster. Unfortunately almost every page on FanConcert is personalized in one way or another. So a goal could be to strip the personalized information from the pages so that there's a static base to the page (which can be cached) and then dynamic information can be overlayed on top or integrated within the page. To the user the page seems personalized but on the back end they are actually getting a cached page plus some personal treatment on top of it or within it. AJAX could be a good way of accomplishing this effect seamlessly. When I request an artist page, I could get the cached copy on the first request which fires off an additional request to get personal information (my tags on that artist, for example). Then FanConcert could have the best of both worlds: decent page caching and personalized content. I wonder if the effort would be worth it? Posted at February 25, 2006 at 12:50 AM ESTLast updated February 25, 2006 at 12:50 AM EST Comments
|