Did some testing and boost and parallel don't play together too nicely... there are several options, and detecting the subdomain seems like the best bet. Means that the js/css files get written to multiple dir's. Right now:
cache/www.example.com/sites/default/files/css/...
new way
cache/www.example.com/sites/default/files/css/...
cache/cdn1.example.com/sites/default/files/css/...
cache/cdn2.example.com/sites/default/files/css/...
cache/cdn3.example.com/sites/default/files/css/...
Plan B would be this
cache/permanent/sites/default/files/css/...
and hope for no name collisions.
based on this I plan on using multiple subdomains for css/js files.
Comments
Comment #1
mikeytown2 commentedlogic
if module_exists parallel then get 3 variables. if not blank dump in array; array_unique; array_filter. when writing js/css files _boost_copy_file & _boost_gz_copy_file the $dest is an array that is in a foreach loop.
Comment #2
mikeytown2 commenteddidn't quite work as planned, but I like it.
Comment #3
mikeytown2 commentedcommitted