Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49212

RFC: Parallel downloading via subdomains

$
0
0

Create a module that automatically rewrites various tags with a src attribute to use a subdomain. This /sites/all/files/css/mystyle.css to //data1.example.com/sites/all/files/css/mystyle.css. Have it handle the following html tags

  • link
  • style
  • script
  • img
  • iframe
  • embed
  • ???

If it could get the src elements out from inside the script tags, that would be cool as well. http://www.websiteoptimization.com/speed/tweak/parallel/ - 2 to 3 hostnames seems to give the best results. Subdomain points to same folder as the domain to make life easy. Some kind of smart auto assign based on filesize or something (needs a db table to keep track, so one can take advantage of the browser cache). Also need to address any multisite issues that might arise.

Thoughts, Comments, Ideas, Code?


Viewing all articles
Browse latest Browse all 49212

Trending Articles