G
Guest
Hello All,
I have been caching an object in a web app and I am running the web app on
my localhost i.e., local machine which has its own IIS web server. Now my
question is if I access web application from my localhost where would that
cached object live? Is it in web server's memory OR inside the worker process?
I am assuming that the cache objects are stored in web server's memory. But
interestingly everytime I close my browser (only instance accessing web
application from the http://localhost), the cache object is being killed and
is created fresh for browser instances which access localhost thereafter. And
this makes me think that cache objects are stored in worker process and not
in web server's memory because I am assuming that worker process gets killed.
Am I right?
And finally when does a worker process start and when does that process get
killed. Is it started only when a browser makes request to a page in the web
app for the very first time? And gets killed if there are no browser
instances accessing? Or is this worker process a persistent process inside
the ASP.NET engine which is yet another process running forever inside the
web server?
I hope that I expressed my questions unambiguously and if I missed something
or if I am not clear please reply me as to where I need to be clear.
Thanks!!
I have been caching an object in a web app and I am running the web app on
my localhost i.e., local machine which has its own IIS web server. Now my
question is if I access web application from my localhost where would that
cached object live? Is it in web server's memory OR inside the worker process?
I am assuming that the cache objects are stored in web server's memory. But
interestingly everytime I close my browser (only instance accessing web
application from the http://localhost), the cache object is being killed and
is created fresh for browser instances which access localhost thereafter. And
this makes me think that cache objects are stored in worker process and not
in web server's memory because I am assuming that worker process gets killed.
Am I right?
And finally when does a worker process start and when does that process get
killed. Is it started only when a browser makes request to a page in the web
app for the very first time? And gets killed if there are no browser
instances accessing? Or is this worker process a persistent process inside
the ASP.NET engine which is yet another process running forever inside the
web server?
I hope that I expressed my questions unambiguously and if I missed something
or if I am not clear please reply me as to where I need to be clear.
Thanks!!