I'm using a template system for my website (XML/XSLT). This system will output the generated HTML in one piece after it has done all its work. This leads to a behaviour that a browser will only start downloading all the content after all the HTML is generated. On some pages this is after 1s or more.
Now, I would like to try to speed this up and let the browser download the css/js files (and maybe an image sprite) before all the work is done.
I obviously can't send the whole head section directly since the title, keywords and description are different for each page and only sending part of the head section does not seem to work.
Does anyone have a suggestion how to do this?
I'm using apache and php.
