aspx_professional thread: SSI vs. Server Control performance
Hi all,
I'd like to ask two questions concerning ASP.NET performance issues:
I've an web application with pages with following structure:
- header
- page body
- footer
The header and footer parts are the same for all pages and contains mostly
static HTML with some variable items (page title, header image, logged user
identification, etc.). Is it better to use server side includes for header
and footer or should I built server controls for them? Do someone know which
way is faster (measuring performance)? We've tried to find the answer in
ASP.NET 1.0 Professional and other books but without a success...
The second question is similar - I'm using code like this <tag>{ some
variable content }</tag>. Is is better to code it <tag><%# variable %></tag>
or <tag><ASP:Literal id="xyz" runtat="server" /></tag>? Which way is faster?
Thanks for any opinion.
Martin Budar
*********************
University of Economics, Prague
Czech Republic
Major specialization: Information management
http://www.vse.cz
E-mail: martin@b...
ICQ: 5210542