Thursday, October 16, 2008

CSS/JS Aggregator bug

In drupal, CSS Aggregation works almost with compressing the files like cleaning
out white spaces (just like a zip program ).

To reduce the count of request CSS Files can be combined.This can break your theming if you have not followed good coding guide lines. Especially while commenting the files good standards needs to be followed. Namespaces should not be overlapped.

On the other hand we can disable the option 'Optimize javascript' files in 'Javascript Aggregation' settings so that invalid comments in js files are not taken in to account and js flow will not get screwed up.

No comments: