DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   Do #include files get cached? (http://www.daniweb.com/forums/thread15225.html)

2ndPlatform Dec 7th, 2004 8:27 pm
Do #include files get cached?
 
Hi all --

If one would use #includes (SHTML, PHP, whatever) on a site, do those include pages get cached and therefore reduce load time (maybe just minorly) for subsequent pages or subsequent visits to the site? Or does that not affect load time?

Could be too simple a question... not sure. :)

Thanks!

mikeandike22 Dec 7th, 2004 8:34 pm
Re: Do #include files get cached?
 
i am pretty sure that you would not notice a change in load time if there was one so i wouldn't worry about because a user with broadband which most people have now would not notice any load time difference between the two options. I am not even sure if there is a difference

pcschrottie Dec 8th, 2004 7:48 am
Re: Do #include files get cached?
 
Quote:

i am pretty sure that you would not notice a change in load time if there was one so i wouldn't worry about because a user with broadband which most people have now would not notice any load time difference between the two options. I am not even sure if there is a difference
What if there's a network with 25 Clients? I mean there's a reason why someone invented proxies...


@2ndPlatform

I only know PHP: the inclusion happens on the server, so your browser always sees only one complete site - the important thing therefore is if the site with all the meta-tags that includes the other is being chached. At least that's how I see it.



Michael


All times are GMT -4. The time now is 1:09 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC