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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:32:06+00:00 2026-05-20T23:32:06+00:00

I have a Website something like twitter who are update per 30 seconds or

  • 0

I have a Website something like twitter who are update per 30 seconds or less. the website frontpage have three part:-

the leftside panel or right side part rarely to be updated but a section on rightside have random changes so i not need to cache them but everything in leftside or rightside i need to be in cache to improve performance.

the middle bar have changes in every few second when some new thing come to listed. so i thing that if i cache them then the user never get update so

how i can use cache and remove all cache when changes happend in database. any trick to do that in ASP.NET MVC

the whole question i have for doing a common thing that :-

if i use cache then user never got update soon as website have so i need to destroy cache whenever new thing goes happened in databse. so how i can do this in asp.net mvc

  • 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-20T23:32:07+00:00Added an answer on May 20, 2026 at 11:32 pm

    You need to use the OutputCacheAttribute or something similar. This action filter “represents an attribute that is used to mark an action method whose output will be cached.” When an action updates the database, the resulting view should be cached, because it is overwriting the previously cached data.

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

Sidebar

Related Questions

I have a problem. The structure for my website looks something like this. root
I have a website with a URL like: http://mysite.com/this-is-a-page and then I use that
i want to make a website something like popurls.com, but I will use static
I have a website that generates polaroid-like images stacked on eachother at different angles.
I want to show dynamic data in tooltip i need something like this website
VS2005.NET I have a website project that references 3rd party dll's and i'd like
I have a website, and offcourse like most websites it loads faster in Firefox.
I'm trying to accomplish something akin to twitter on my website, where one user
I have a website that has user ranking as a central part, but the
On my company's Rails website, we have a Twitter area where tweets from our

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.