Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Kiinds of includes??

Reply
Thread Tools

Kiinds of includes??

 
 
Vilmar Brazão de Oliveira
Guest
Posts: n/a
 
      01-14-2004
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,


 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      01-14-2004
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



"Vilmar Brazão de Oliveira" <> wrote in message
news:...
> 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,
>
>



 
Reply With Quote
 
 
 
 
Vilmar Brazão de Oliveira
Guest
Posts: n/a
 
      01-14-2004
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

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> escreveu na mensagem
news:...
> 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
>
>
>
> "Vilmar Brazão de Oliveira" <> wrote in message
> news:...
> > 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,
> >
> >

>
>



 
Reply With Quote
 
Ray at
Guest
Posts: n/a
 
      01-14-2004

"Vilmar Brazão de Oliveira" <> wrote in message
news:...
> 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


 
Reply With Quote
 
Mark Schupp
Guest
Posts: n/a
 
      01-14-2004
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.


--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com


"Vilmar Brazão de Oliveira" <> wrote in message
news:...
> 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
>
> "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> escreveu na

mensagem
> news:...
> > 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
> >
> >
> >
> > "Vilmar Brazão de Oliveira" <> wrote in message
> > news:...
> > > 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,
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Vilmar Brazão de Oliveira
Guest
Posts: n/a
 
      01-14-2004
Nice your explanation Mark!
Now I really understood!
thank others else.

--

««««««««»»»»»»»»»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC
"Mark Schupp" <> escreveu na mensagem
news:...
> 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.
>
>
> --
> Mark Schupp
> Head of Development
> Integrity eLearning
> www.ielearning.com
>
>
> "Vilmar Brazão de Oliveira" <> wrote in message
> news:...
> > 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
> >
> > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> escreveu na

> mensagem
> > news:...
> > > 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
> > >
> > >
> > >
> > > "Vilmar Brazão de Oliveira" <> wrote in message
> > > news:...
> > > > 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,
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57