Edditoria Han
2012-Jun-11 09:32 UTC
HTML5 Offline Cache Manifest file with asset pipeline in Rails 3.2 app?
*This question is also available in Stack Overflow: link<http://stackoverflow.com/questions/10948748/html5-offline-cache-manifest-file-with-asset-pipeline-in-rails-3-2-app> * I''m a newbie in programming. The app I''d created is http://checkamy.herokuapp.com (Welcome any comments) It''s very simiple: a few .coffee, .scss and images. In what way I should do to make my app offline? I read some HTML5 books and understand how-to. But I don''t know how to implement in Rails 3.1+. "Rack-offline" seems outdated and I read this: CACHE MANIFEST javascripts/application.js javascripts/jquery.js images/masthead.png NETWORK: / They are not application-xxxxxxxx.js I guess the browser will download 2 different files: 1 online app-xxxx.js and 1 offline app.js. (waste server resources) And the application.js is possible to be outdated, right? So, what should I do to achieve the offline browsing feature? Please help. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/oLjkk_Ice0AJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.