DrupalCon Baltimore: 161 sessions, many voices, infinite possibilities. Earlybird rate ends Friday.
Upgrade to the CDN module!
The Parallel module is now obsolete. The final version (1.0) doesn't do anything anymore, it simply migrates all settings to the CDN module when you run update.php. When you uninstall the Parallel module, all of Parallel's settings are deleted.
The CDN module contains a superset of the Parallel module's functionality, with a better UI, and a Drupal 7 port readily available.
The migration path is provided and is documented in the CDN module's UPGRADE.txt file. Also see the Parallel 1.0 release notes!
Below you, can find a quick tutorial on how you can duplicate the Parallel module's behavior using the CDN module.
- Create 3 new subdomains that point to your main domain (using "CNAME" DNS records). If your main domain is
example.com, then create
- Install & enable the CDN module module.
- Go to
admin/settings/cdn/details(Drupal 6) or
admin/config/development/cdn/details(Drupal 7) and enter the following CDN mapping:
http://css.example.com|.css http://js.example.com|.js http://img.example.com|.jpg .jpeg .gif .png .ico
- Sit back and watch your website load quicker since your browser is downloading in parallel.
To verify: on Firefox, install Firebug first. Then, using Firefox' Firebug or any WebKit-based browser's Web Inspector: load your website while looking at the "Network" tab. For the skeptics, read this note from Google, or this one from Yahoo.
Depending on your HTML structure, server and web browser it may not help, but actually hurt performance; YMMV (Your Mileage May Vary). Verification is important.
Reasons that you may not see a front-end performance increase:
- You may not have enough elements on a page for your browser to take advantage of parallelizing domains.
- Your parallel domains must have a different host name and different IP from your primary domain.
- Some browsers (notably IE6) cannot perform parallel downloads from more than 2 domains.
- Realistically you will only see parallelization within each resource type. The browser will not download all CSS, JS, and Images at the same time, but will be able to parallelize downloads within each of those groups.
- Maintenance status: Unsupported
- Development status: Obsolete
- Module categories: File Management, Performance and Scalability, Utility
- Reported installs: 24 sites currently report using this module. View usage statistics.
- Downloads: 3,795
- Last modified: November 27, 2014
- This project is not covered by the security advisory policy.
It may have publicly disclosed vulnerabilities. Use at your own risk!