Assetic optimization