Offline apps and Asset pipeline Problem in rails3.2

72 views
Skip to first unread message

sanemat

unread,
Mar 26, 2012, 8:38:36 PM3/26/12
to rubyonra...@googlegroups.com
I have a question about using rack-offline with asset pipeline in rails3.2.2. rack-offline creates application.manifest for local caching. This gem watches file modification then re-generate hash-key in manifest.

I confuse offline apps with asset pipeline. asset pipeline provides variable paths file to assets/foo.js (actually app/assets/javascript/foo.js). I use `config.assets.debug = false` now and set `cache 'assets/application.js'`, but this does not detect file modification.

How to write configure of rack-offline? Would you give me help and recommend any example or article? Or alternative solution exists?

This is my incomplete note:

Thanks,
Kenichi Murahashi
Reply all
Reply to author
Forward
0 new messages