baal666
Member
Posted 2 years ago #
Hi,
I was wondering... If I use the `<?php
if (is_home()) {` to show some features only on home page, does it slow the site on the home page and/or make it faster on the single pages?
I mean: does the additionnal request is really worth it or should I put everything on every page?
Thanks
I think the actual check if it's the home page is negligible and if you got alot of code that your hiding that pulls data from the database say a mini loop or something then yes it could be worth it.
baal666
Member
Posted 2 years ago #
Thanks. I'll try it. Right now I am running mini because too much script and HTML calls, but I will give it a try.