As I understand it, (by design?) the first person to visit a ASP.NET website
has to wait a little longer because the site is being compiled. Subsequent
visitors (if they visit soon) will find the site to load faster. After like
30 minutes this happens again. Where can I change this setting (that caches
the compiled website)? If my hosting company won't change it are there
other solutions to keep the site alive/active regularly (even a service that
"visits" every 25 min or something)?
Thanks for your insight! 4 2131
On 13 Nov, 20:11, "Cirene" <t...@test.comw rote:
As I understand it, (by design?) the first person to visit a ASP.NET website
has to wait a little longer because the site is being compiled. Subsequent
visitors (if they visit soon) will find the site to load faster. After like
30 minutes this happens again. Where can I change this setting (that caches
the compiled website)? If my hosting company won't change it are there
other solutions to keep the site alive/active regularly (even a service that
"visits" every 25 min or something)?
Thanks for your insight!
Maybe you should try the aspnet compiler before you deploy to your
host.
check it out here: http://msdn2.microsoft.com/en-us/lib...63(VS.80).aspx
But it's already compiled. I use Visual Studio.net 2005. (Sorry if I
didn't explain that well.)
My hosting company support stated "Please be sure that the compiled cached
on server is a behavior of Microsoft ASP.NET, we can not change this kind of
cache. The only thing we can do is keep the compiled application loaded on
the cache, therefore a scheduled task can be help to keep the cache stay.
Thank you."
Make sense?
<de**********@g ooglemail.comwr ote in message
news:11******** **************@ o80g2000hse.goo glegroups.com.. .
On 13 Nov, 20:11, "Cirene" <t...@test.comw rote:
>As I understand it, (by design?) the first person to visit a ASP.NET website has to wait a little longer because the site is being compiled. Subsequent visitors (if they visit soon) will find the site to load faster. After like 30 minutes this happens again. Where can I change this setting (that caches the compiled website)? If my hosting company won't change it are there other solutions to keep the site alive/active regularly (even a service that "visits" every 25 min or something)?
Thanks for your insight!
Maybe you should try the aspnet compiler before you deploy to your
host.
check it out here: http://msdn2.microsoft.com/en-us/lib...63(VS.80).aspx
On Nov 13, 4:00 pm, "Cirene" <t...@test.comw rote:
But it's already compiled. I use Visual Studio.net 2005. (Sorry if I
didn't explain that well.)
My hosting company support stated "Please be sure that the compiled cached
on server is a behavior of MicrosoftASP.NE T, we can not change this kind of
cache. The only thing we can do is keep the compiled application loaded on
the cache, therefore a scheduled task can be help to keep the cache stay.
Thank you."
Make sense?
<derhamfam...@g ooglemail.comwr ote in message
news:11******** **************@ o80g2000hse.goo glegroups.com.. .
On 13 Nov, 20:11, "Cirene" <t...@test.comw rote:
As I understand it, (by design?) thefirstperson to visit aASP.NET
website
has to wait a little longer because the site is being compiled.
Subsequent
visitors (if they visit soon) will find the site toloadfaster. After
like
30 minutes this happens again. Where can I change this setting (that
caches
the compiled website)? If my hosting company won't change it are there
other solutions to keep the site alive/active regularly (even a service
that
"visits" every 25 min or something)?
Thanks for your insight!
Maybe you should try the aspnet compiler before you deploy to your
host.
check it out here: http://msdn2.microsoft.com/en-us/lib...3(VS.80).aspx- Hide quoted text -
- Show quoted text -
I had the same problem. The reason is that the application domain
times out every 20 mins if there is no activity, the first request
after the timeout can force a recompile and reload of cache. Changing
some settings in the machine.config file will solve the problem;
unfortunately for me my hosting provider would not allow me to make
this change. I found this utility to be useful. http://www.spikesolutions.net/ViewSo...2-05f6eded3b82
Essentially it "Pings" my home page every few mins so the application
domain does not time out. The utility can also be configured to ping
more than one page so that auxiliary pages are fast too. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mike |
last post by:
regards:
when nokia mobile browser at the first time access HTTP Server,
What kind of "HTTP request" does the nokia mobile browser give to the
HTTP Server?
thank you
May goodness be with you all
Thank you,Positive Feedback to mikeotp@gmail.com
|
by: Steve Bishop |
last post by:
I have an application that uses data access that runs slow the first
time. My first page reads data from an ODBC source and the second page
hits a MSDE database. After each page opens the first time, they run
just fine.
What should I do? I have all my code in ASPX pages right now, but I
would like to break it up in some code behind. Also, is this the
advantage in pre-compiling data access classes (like in a dll or is
there an easier...
|
by: aspnet guy |
last post by:
my asp.net website is slow at my work machine but very fast at home. My work
uses a firewall. Can that slow down the loading of web forms?
are there any "common" things I can try to get it to load faster?
It is a database driven (access) ado.net asp.net site, very simple in
structure that uses asp.net forms.
|
by: BK Kim |
last post by:
Hello.
I have made my aspx websites and I realized that my application is running
slow at the first time but next time, it is very fast.
Is it because the codes are compiled at the first time?
If that's the case, do I need to hit every single pages so that my web users
will have better performance?
|
by: Jason |
last post by:
Hi
I have a "problem"
i have got a ASP.NET application. in this application i have included
logging. in the logging i have logged how many seconds it takes for this
application to fully load.
i have placed these timing loggings in the Load and Init events on a typical
aspx page. i.e. first line of code in Page_Load is
DateTime dtStart = DateTime.Now;
and the last lines of code are
| |
by: TB |
last post by:
Hi all:
If you think that the following comments are absolute amateurish, then
please bear with me, or simply skip this thread.
A couple of months back I made the decision to initiate a gradual upgrade of
my web programming skills from Classic ASP / VBS to ASP.NET / VB.NET.
While the study of the language differences and all the new features in .NET
has so far not been a traumatic experience, I am a bit shell-schocked after
|
by: Bob Graham |
last post by:
This code:
txRate.Text = Format(payRate, "C")
(payRate is already succesfully set to a value such as 15D)
takes about 3-4 seconds to run the first time, after that it's plenty fast.
What makes it slow on the first call?
Bob Graham
|
by: Marlene A. Roman |
last post by:
Hope everybody is doing OK.
I have a webservice which I request via https://. I'm also using WSE to
generate an authenticated token.
|
by: ssaini |
last post by:
Hi,
I am consuming a java web service in .NET C# smart client, which is based upon Microsoft's SCSF application block.The SCSF is a wrapper over WinForms. When I make a call to any of the Java webservice,for the first time its very slow (takes 600-800ms) but after the first call, if I make any subsequent calls to the same web service then it is preety fast.
The same thing when I did with a Java client, the results are preety good...
|
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...
|
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,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
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...
| |