User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 401,670 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,498 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2034 | Replies: 2
Reply
Join Date: Nov 2004
Location: Milwaukee, WI
Posts: 62
Reputation: 2ndPlatform is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
2ndPlatform's Avatar
2ndPlatform 2ndPlatform is offline Offline
Junior Poster in Training

Do #include files get cached?

  #1  
Dec 7th, 2004
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!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2004
Location: Boston,MA
Posts: 1,362
Reputation: mikeandike22 is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 16
Featured Blogger
mikeandike22's Avatar
mikeandike22 mikeandike22 is offline Offline
Nearly a Posting Virtuoso

Re: Do #include files get cached?

  #2  
Dec 7th, 2004
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
My Daniweb Blog: This,That, and Everything Else (Blog contest winner)

GetFirefox!
GetOpera!






Reply With Quote  
Join Date: Dec 2004
Posts: 204
Reputation: pcschrottie is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 8
pcschrottie's Avatar
pcschrottie pcschrottie is offline Offline
Posting Whiz in Training

Re: Do #include files get cached?

  #3  
Dec 8th, 2004
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 7:20 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC