473,729 Members | 2,234 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

static html vs dynamic aspx

I have heard static html is a good way to do the default.html as it is
faster and save resource hits over aspx for example.

But what if you want to generate and overwrite the static html pages every
day.
If you had a busy site like amazon the html pages would always be open and
busy by users hitting the web site every second. So how could the update
write of the page work.

Plus, what if you wanted ads on your page and you were using double click
or one of the other ad servers. Do these ad servers work on static html
page?

I am hoping theres someone with such a wide range of intelligence that has
knowledge of these issues.

Steve
Jul 8 '07 #1
2 2459
Hello Steven,

They don't update the pages which the users serf. They have a number of clusters
and update pages there, turned nodes of clusters off and on when the new
pages were uploaded

---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

SIf you had a busy site like amazon the html pages would always be
Sopen and busy by users hitting the web site every second. So how
Scould the update write of the page work.
S>
Jul 8 '07 #2
It is typcially faster- but a cached page should be just as fast once in the
IIS cache.

Ad servers work fine throuigh static HMTL as long as the browser has
javascript enabled. If your site is busy, then load balancing across your
servers can be used to force traffic away from each server in turn to allow
you to update the page without having any impact.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"steven" <sv***@hotmail. comwrote in message
news:3q0ki.4864 $qu4.1632@trndn y06...
I have heard static html is a good way to do the default.html as it is
faster and save resource hits over aspx for example.

But what if you want to generate and overwrite the static html pages
every day.
If you had a busy site like amazon the html pages would always be open and
busy by users hitting the web site every second. So how could the update
write of the page work.

Plus, what if you wanted ads on your page and you were using double click
or one of the other ad servers. Do these ad servers work on static html
page?

I am hoping theres someone with such a wide range of intelligence that has
knowledge of these issues.

Steve

Jul 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1130
by: Joel Barsotti | last post by:
What I mean here is that I have to build an HTML interface for a CD catalouge. All the contents for this catalouge are in a DB right now for the current ..net website. Since the CD catalouge will contain 200 plus elements I'd like to leverage the DB to help create the content for the CD, but at the same time thinks like extensions and names would be very very different.
8
1126
by: Roger stevenson | last post by:
Hi I am a converting VB6 programmer. Having completed a Windows forms project , andbefore moving on to some of my ASP.Net projects I want to add a lot of function to a VB 6 application that generates static web pages which display segments of data bases. The applicaton is used by a lot of sporting bodies that largelely get by on non-interactive free sites I have just finished a quick skim through a book on Professional ASP dot net looking...
5
2058
by: Rich S | last post by:
I created this neat little .net site which tracks the inventory of my little widge company giving me real time inventory counts and whatnot. It uses your standard code that calls a stored procedure and loads up a datagrid and works really well. It occurred to me that since my database inventory is only updated once per day at 6:30 am having this dynamic query and page generation is overkill and I really just need to save the output to...
3
1340
by: urs.eichmann | last post by:
Hello, several parts of the pages of my ASP.NET 2.0 site are mainly static, such as a treeview with all the product categories, a menu bar, the company header and so on. But they also have a dynamic part, such as a product list. If I look at the rendered HTML, the static parts are roughly 60%-70% of the whole HTML sent to the client. Especially the treeview will quickly sum up to 30K of nested TABLE, TR, TD tags and javascript. Since...
14
17826
by: Shimon Sim | last post by:
I have a static variable defined something like this private static Dictionary<string, string> roles = new Dictionary<string,string>(); Can I safely assume that it will be live for the live of application? Meaning that any thread/page of the application will have access to the data in this variable.
11
3048
by: toton | last post by:
Hi, I have little confusion about static memory allocation & dynamic allocation for a cluss member. I have class like class Bar{ public: explicit Bar(){ cout<<"bar default"<<endl; }
5
3176
by: pittendrigh | last post by:
There must be millions of dynamically generated html pages out there now, built by on-the-fly php code (and jsp, perl cgi, asp, etc). Programatic page generation is transparently useful. But querying a database, negotiatinig lots of if-then-else logic and echo'ing html code out on port 80 every time a page is requested has to be a huge waste of resources. Why not use that logic to print static html instead of dynamic?
7
8222
by: Jo | last post by:
Hi, How can i differentiate between static and dynamic allocated objects? For example: void SomeFunction1() { CObject *objectp = new CObject; CObject object;
1
2345
by: daonho | last post by:
Hi Everyone, I have encountered this problem that I am not able to figure out. Please drop me some lines if you have any idea how to solve this issue. I have a global.asax file in my web site. It works fine as I wanted when loading aspx file; however, I have some static page in the same directory such as html and htm page. These page also load correctly and the global.asax file does fire when executing my .net development environment....
0
8913
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9280
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8144
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6016
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2162
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.