Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server-side includes

Status
Not open for further replies.

sergiogob

Programmer
Nov 18, 2003
2
CA
Hey everybody,

we use includes on our pages(we host several dozen sites and use includes for all the separate headers, footers etc...) at work and it looks like it is giving our server a lot of problems. The server memory keeps building up without releasing, until eventually (if the server doesn't get re-started) crashing.

We figured the abundance of includes causing the servers to parse through all the ASP pageswas the culprit, so I removed all the includes, the problem ceased and desisted. However, without the includes in there, there is a whole lot of extra (and unnecessary) coding involved.

I was just wondering if anybody had ever encountered the same problem with using includes, and if so, is there another solution as opposed to hardcoding everything. I read somewhere that using "Server.Execute" works better than includes as it loads the page into memory once and then caches it.

Any input or suggestions would be very helpful and appreciated...

Sergiogob
 
Read up on SSI @ - this sounds similar to a discussion we had in the ASP forum a while back - I'll see if I can locate the thread

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

fart.gif
 
Thanks mwolf00, I appreciate the quick response...
 
YW

thread333-670076

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

fart.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top