require - Is there a faster way to include PHP files? -


i have following code when want include code php file:

$domain = 'www.example.com'; require_once $domain.'/footer.php'); 

i wonder though if slower be, because surely has go through dns find page?

is there quicker way this? maybe should set ip $domain? or maybe there php snippet detect me?

i pay dns hits, there's too...

no thought can include file via autoloader there no other way include files

require , include in php , both fast, if use temples same.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

excel vba - VBA Proxy auto-configuration for http requests -

sql server 2008 - split ssrs expression between 2 words -