lucassus / extjs4-account-manager

Ext JS 4 and Ruby on Rails simple CRUD example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Works by browser redirect?

davidbeers opened this issue · comments

Looking at routes.rb it appears that this works (for theme assets in test and production at least) by redirecting the browser to the correct path using 301 Redirect response. Wouldn't this mean that the browser needs to make two round-trips to obtain these assets? There's no way to avoid this?

Yes, it's a "moved permanently" response... I think the only alternative for avoiding this, is to drop using the rails assets-pipepeline in favour of the Sencha build chain, with Sencha CMD...
But any other ideas is welcomed! :-)