[development] websiteoptimization.com css size
wdlists at optonline.net
Sat Jan 7 00:58:38 UTC 2006
> /mymodule.module (required)
> /mymodule.css (optional)
> /mymodule.js (optional)
> Then the admin/modules page gets 2 extra columns of
> checkboxes: Use Module CSS and Use Module JS, both of which
> default to on. The system then, based on those checkboxes,
> adds the appropriate <script> and <style> tags. Overall less
> code to send to the browser, more flexibility for themers,
> and more logical grouping of resources.
> I now await someone telling me why the above is dumb. :-)
What if module a and module b are quite similar, enough so that using the
same css and js is reasonable? Then you will get two copies of each.
More information about the development