These are chat archives for opal/opal

14th
Oct 2017
Jamie Gaskins
@jgaskins
Oct 14 2017 18:03
@janbiedermann That makes sense. I don't see that performance issue with the roda-opal_assets gem, though. When I refresh, my app loads instantly no matter how many files it has, so I don't think Sprockets is the issue.
Jan Biedermann
@janbiedermann
Oct 14 2017 18:19
@jgaskins thats interesting, do you have a repo at hand?
Jamie Gaskins
@jgaskins
Oct 14 2017 18:22
@janbiedermann Sure https://github.com/jgaskins/clearwater_roda_example Clone it and run ./dev to start it up
Jan Biedermann
@janbiedermann
Oct 14 2017 18:22
@jgaskins thanks
Jamie Gaskins
@jgaskins
Oct 14 2017 18:27
Part of it is that roda-opal_assets lets Sprockets use the browser's HTTP caching, but even if you Shift-Cmd-R to bypass the cache, it still loads very quickly.
Jan Biedermann
@janbiedermann
Oct 14 2017 21:27
rails/sprockets#506, i believe it is sprockets ;) @jgaskins
thats the moderate version
Jan Biedermann
@janbiedermann
Oct 14 2017 23:12
rails/sprockets#507, gorilla version, i still believe its sprockets