Bootstrap is called for every advertisement block. These leads to increase query in terms of number of blocks.
Ex:
The query log without the Ad module is 110. After enable the ad with 6 ads block the query increased to 110x6. The site traffic is very high. Please help me if u know the issue and where to add improvement code.

Regards,
R.Navaneethakrishnan.

Comments

jeremy’s picture

Status: Active » Fixed

You need to enable the ad_cache_file.module or ad_cache_memcache.module (the latter requires that memcache be installed), and enable it on the administrative ad configuration page. This will avoid bootstrapping Drupal for every block. See documentation/README.txt for more information.

navaneeth_r’s picture

Status: Fixed » Active

Hi Jeremy thanks for your support. I enabled as you suggested and no more improvement .No information is given to enable those module in README.TXT as you informed...

Thanks,
R.Navaneethakrishnan

jeremy’s picture

Priority: Critical » Normal
Status: Active » Closed (duplicate)

Opening multiple issues for the same problem is annoying. Closing this issue.

navaneeth_r’s picture

Status: Closed (duplicate) » Closed (fixed)