I am trying to optimize my project to avoid send cookies with the static resources (i.e: images, scripts, stylesheets, etc). My approach is to create a static.my-domain.com domain to serve from there all the static resources without cookies.
How can I load the resources from this domain using Symfony2 using asset?
I am using Symfony 2.1 RC2
Turns out there’s an assets_base_urls options that allows you to set assets domains.