In our project we are working on theme roller.
In the theme roller page user can select different options for customizing the UI like color, font etc and click on Apply.
Apply event handler will make ajax call and that will return css raw content.
- Is it a good practice to use steal.types.css.require to load css raw content?
- Will this approach support caching?
- Will it be better to make ajax call return url for css and use something like steal("/resources/style/generated.css")