aggregated css/js 404 prevention module
Posted by mikeytown2 on March 4, 2010 at 10:09pm
Problem: If the aggregated css/js file doesn't exist then drupal is loaded, looking for it; a 404 for the file is usually the result.
Solution: Have a lookup table pairing the old file to the new one, returning the new aggregated file in the process.
Create 2 menu hooks
file_directory_path() . '/css/%'
file_directory_path() . '/js/%'
