ASP to static HTML

Convert Dynamic ASP files into HTML (once daily) to make them faster when refresh.
This is as inherited and found from my old library, could inspire a better way to do that.

If you have a large amount of data to give to the user as HTML and this data needs to change once a day then this will speed up the process for the user.
The following code will create a file the first time a page is hit for each day.
The upside of doing it this way is you have a record of what the use saw on any given day.
The downside is the first person takes the performance hit to write the page and you need to check to make sure the user came to this page first. In other words, if they save yesterdays page as a favorite then they will see old data unless you redirect.
Used the month and day to handle this problem. Does not use the year. There are many other ways to handle this.


Not Tested

Not My Work

Views 661 Downloads 211