Jump to content

include 'test.php'


robert_gsfame

Recommended Posts

whenever you include a external JS, your browser sends an extra request to server in order to fetch JS file.

 

If you are including it with include 'test.php'; surely there will be less number of request to the server, so it wil make webpage to load fast.

 

you can check this performance using yslow, in firefox

 

description is available at

http://developer.yahoo.com/performance/rules.html

 

It will help you to Minimize HTTP Requests

 

So it will reduce the time of loading the webpage as compared to external js

Link to comment
Share on other sites

No, it will not help you reducing time...

 

"Decosian" here "robert" is not including any external js file what is asking if he include server side php script which means all the server side inclusion will happen on server only output will be sent to the client.... so while rendering on the client side no extra request will be sent to the server.

 

I guess, you misinterpreted the question... its not client side inclusion.. its server side inclusion...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.