Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6970341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:41:53+00:00 2026-05-27T16:41:53+00:00

Let’s assume that we have web site which runs on IIS 7.5 and built

  • 0

Let’s assume that we have web site which runs on IIS 7.5 and built with ASP.NET MVC 3. Also assume that this website has lots of unique pages for products and all of that pages is being cached for 24 hours in memory. There are other pages also which benefits from output caching.

Everything is fine till here. As soon as we deploy a new update into IIS, the pool is recycled and all of the cache is gone.

So, I consider building a console app which basically do one thing: go and consume every single page for the website.

Is this the way of doing that sort of thing? Is there any known method for that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:41:53+00:00Added an answer on May 27, 2026 at 4:41 pm

    There are many ways to address this issue. A few:

    1. Pre-cache the data in SQL Server by issuing queries that read the required tables into RAM. Of course, you need enough RAM for the tables to fit. You can run the task from SQL Agent at a specific time.
    2. Add a distributed caching middle tier, such as AppFabric (warning: potential headaches)
    3. Use .NET 4.0 app auto-start and a cache pre-warming class
    4. Use Application_Start() in global.asax
    5. Start a background thread in your app that reads in the required data structures
    6. Use ASP.NET object caching in addition to output caching, and pre-load the object cache using one of the methods above
    7. In addition to or instead of issuing DB queries from your background thread or cache warmer, use the WebRequest class to fetch a copy of each page in your app, which will cause it to be loaded in the output cache
    8. Set your AppPool to recycle at a specific time of day, and have a Windows Scheduled Task that runs at a specific time after that, which causes the pages to be loaded, etc.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's suppose that we have multi-site CMS and every website in this CMS having
Let's say I have a method in java, which looks up a user in
Let me explain best with an example. Say you have node class that can
Let's say that I have a SQLite database that I create in a separate
Let's say I have two text files that I need to extract data out
Let's say I have this element for displaying the website logo: <div id="web-title"> <a
Let's say I have some text as follows: do this, do that, then this,
Let's say, I have a .NET 2 installed. Can I programmatically install version 4
Let's say I have a main folder in my website named test which contains
I have a French site that I want to parse, but am running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.