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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:12:14+00:00 2026-05-25T03:12:14+00:00

We use page output caching in our ASP.Net website home page to make it

  • 0

We use page output caching in our ASP.Net website home page to make it appear load faster.
The caching time is very minimum(5 minutes) so that the data updations are reflected to users
within short time span. In the home page itself, We have a section called ‘Polls’ used for voting best answer for the question displayed.
In this section, poll results are displayed when a user has already voted and for users who haven’t voted,
the poll question has to be displayed. The issue is, when a user who has already voted has visited the home page, the
page is cached with poll results displayed. Within that 5 min’s caching time, when another user who
has not yet voted has accessed that page then for that user also results are only displayed instead
of poll question so the user is not able to vote for that poll.

To prevent this, we have tried out data caching technique where datatable for all sections in
home page is cached and the page is rendered. This technique still is not as fast as Page output caching and so our users does not desire this
technique. The loading time for both data caching is much higher when compared to page output caching.

We have also tried out substitution caching method where a part of the page alone gets reloaded even when the entire
page it cached. The most important issue in this caching method is we can use only HTML controls in that substitution
control. We have tried creating polls section with HTML controls only, still we get problems with AJAX update panel used
in other sections of the page.

Kindly guide me to resolve this issue. A part of the page(polls section) alone has to be reloaded for each user and other sections
has to be delivered from cache. This should happen without compromising performance of the page.

  • 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-25T03:12:15+00:00Added an answer on May 25, 2026 at 3:12 am

    I have implemented polls section of the page in an iframe, the content inside the iframe does not get cached. Simple, temporary solution!!!

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

Sidebar

Related Questions

When I use the Response.Write() method in asp.net to output javascript code, such as
I'd love to use page caching on a Rails site I run. The information
If we use an aspx page with a Caching Profile, the server caches images
In my MVC3 Project I use some output caching with the OutputCache attribute set
I'm confused on ASP.NET MVC caching and authorization and in dire need of some
I have an ASP.NET MVC 3 (Razor) Web Application, with a particular page which
I find the SqlCacheDependency very useful when writing C# ASP.NET applications, and would love
First a brief background. I am using .NET output caching and substitution controls to
What is the fastest way to execute a method on an ASP.NET website? The
My asp.net app is heavily using user controls and is high load; my concern

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.