Jump to content

Not using advertisements, Advertisement.php requested a lot.


The Honor Empire

Recommended Posts

Posted

I've been tweaking server performance and I was looking at how often specific php files are called and noticed that Advertisement.php is called about as often as constants.php. However, I am not using advertisements at all. I'm not sure if this would help performance as it's only 48.88K in size. Anyway, since I last restarted httpd about a day ago it's been called 30648 times. Constants.php 30690 times. And just to give a perspective, conf_global.php 67852 times. Not sure if there is a flag that can be set to disable this? And again, I'm not knowledgeable enough to know if this would increase performance at all. I'm just trying to speed up my site :)

Thanks!

Posted

The class is called on each request to see if any advertisements are shown and to update the impressions count if necessary. There's absolutely no overhead here:)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...