Kiinds of includes??

  • Thread starter Vilmar Brazão de Oliveira
  • Start date
V

Vilmar Brazão de Oliveira

Hi,
I know this kind of include <!--#include file="adovbs.inc"--> or <!--
#include file="conn_dbAT.asp" --> is put into my asp page, but this bellow
let my slow too??
<script language="JavaScript" type="text/javascript"
src="includes/consistencia_listagem_exclusao.js">
</script>
OR
<link rel="stylesheet" type="text/css" href="includes/estilo_listagem.css">

or only make a reference??
thanks,
 
R

Ray at

The <!-- #include types are SERVER side includes. Notice that if you do a
view source on a page with <!-- #include includes, you don't see those
"comments" in the source. That's because the server replaces that include
line with the contents of the file being included, whether that's html or
asp. The other things you listed are handled by the browser.

Ray at work
 
V

Vilmar Brazão de Oliveira

Hi Ray,
A little question:
The other things you listed are handled by the browser.??
Does not that increase the size of page, of page processing?
Thanks,
--

««««««««»»»»»»»»»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC
 
R

Ray at

Vilmar Brazão de Oliveira said:
Hi Ray,
A little question:
The other things you listed are handled by the browser.??
Does not that increase the size of page, of page processing?

Yes, it would increase the size of data loaded by the browser. But, if it's
browser stuff, that's what you have to do.

Ray at work
 
M

Mark Schupp

The js and css includes are processed by the browser but the file has to be
retrieved from the web-server (same as an image file has to be loaded by the
browser). Unless the js and css files are set up on the server to be
processed by the asp dll they will not impact the processing time (on the
server) of the asp page that includes them.

The browser may also cache the files separately so that if more than one asp
(or html) page uses the same js include file it is not downloaded for each
asp page.
 
V

Vilmar Brazão de Oliveira

Nice your explanation Mark!
Now I really understood!
thank others else.

--

««««««««»»»»»»»»»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top