Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 4, 20168 yr 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!
March 6, 20168 yr 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.