I’ve been trying to incorporate GitHub - wycats/rack-offline: A Rack and Rails plugin for building offline web applications
my app. I followed the example in the readme that shows how to cache
application.css and application.js files and that works.
When I go to my browser in production mode, though, and turn off my
connection, then reload the app, the app is reloaded successfully,
for the images.
I think I probably need to add something to the example in the routes
but I’m not sure what. I’d like to cache everything from here:
I’ve googled around and am surprised that this question doesn’t appear
I suppose I could move the images into the /public folder. I think that
would work, but I’d prefer to keep my configuration as standard as