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 7796435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:22:19+00:00 2026-06-01T23:22:19+00:00

I am creating a Web Application using ASP.NET MVC 3 and I would like

  • 0

I am creating a Web Application using ASP.NET MVC 3 and I would like to enable offline access to the WebPage only when the Internet is not available.

I have a question:

  1. I found a lot of tutorials for caching in ASP.NET MVC3 (for example Official Site) but how I can invalidate cache content if network connection is available and update cache content accordingly? Concequently, I want the user to be able to browse the online website if his internet connection is OK and browse the cached version of the website if internet connection is not available. PS. I am not sure if caching is the appropriate solution for this kind of problem.
  • 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-06-01T23:22:21+00:00Added an answer on June 1, 2026 at 11:22 pm

    Salamis,

    I have been looking for a solution for a similar kind of problem. So far I can think of the below design to achieve what you need. I am not sure whether it is worth the pain. All the resources required for your application need to go via a Resource manager in client side. The resource manager for a given resource id, will fetch the content from the server and store it in localStorage when online and when offline would use the last fetched data from localStorage. These are easy for images as then can be stored as Data-Uri, but haven’t thought about other resources.

    May be for scripts which powers these should be cached by app manifest and for data to be retrieved by service calls and images can go through the Resource manager. But I have not really found any library / framework which does the above 🙁

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a Web application using ASP.NET MVC, and I'm trying to use
I would like to build a new web application using ASP.NET MVC3 and MongoDB.
I am creating a mobile web application using asp.net. The application must support iPhone,
When I'm creating a user for my web application, an SMTP email (using ASP.NET's
I am creating a web application using ASP.Net. I am using session in my
I'm creating a web application using asp.net & WCF as 3 tier architecture, which
I'm creating an ASP.NET MVC application using F# on IIS 7. When I attempt
I am creating a new web application using ASP.NET MVC3 Razor and HTML 5.
I'm developing a web application using ASP.NET MVC and I'm using Windsor Castle as
I'm currently creating an application using ASP.NET MVC. I got some user input inside

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.