The way things are setup now a page will have the following script tags (in order):
- variable initialization for the googletag variable
- include of external google js file
- slotDefinition 1
- slotDefinition 2
- slotDefinition 3
- ...
- global settings
note: this list assumes #1577388: Ads not showing in IE8 (and Opera) will be committed
This could certainly be changed to have only three by using a static cache:
- variable initialization for the googletag variable
- include of external google js file
- all slot definitions & global settings
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1594948.patch | 2.2 KB | bleen |
Comments
Comment #1
bleen commentedturns out that due to the order of when preprocess_page is called, this is not feasible without some major hackery ... attached is a patch with what I tried. If anyone wants to take a swing, feel free but for now Im marking "wont fix"