I'm building a HTML5 recipe app. As a user browses through recipes, they should be able to save the recipe as a favourite for offline browsing. That would mean saving a photo gallery in the recipe as well.
Given I can't know ahead of time which recipe a user will select, I can't add the appropriate images to the cache manifest. What would be my best option? I'll use WebSQL if I must, but I use it judiciously given it will someday be replaced. Is there a strategy I could employ that leverages local storage perhaps? Anyone know of an example?
Thanks!
Chris