PDA

View Full Version : [Dilemma] Javascript vs. PHP ads


AllenH
07-02-2008, 06:37 PM
There's this ad agency that offers advertising units for publishers both via Javascript and PHP, I'm currently using Javascript, just like with Adsense, AdBrite etc etc..I wonder if using PHP would make my site load faster?


Allen

gnomeontherun
07-02-2008, 06:40 PM
Perhaps, they might also work more often since not everybody uses Javascript. I would think you might have a marginally better speed using PHP, since Javascript has to load, and then grab the content when PHP can grab it on the server before the load.

binaryWeapon
07-02-2008, 07:22 PM
Also, I don't think ad-blocker programs are usually able to block php ads, since they are processed server-side.