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

  • Home
  • SEARCH
  • 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 6914029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:17:43+00:00 2026-05-27T09:17:43+00:00

Is it possible to cache a page render on an iis web server, but

  • 0

Is it possible to cache a page render on an iis web server, but still receive and write query string values (that don’t affect output) to the database? So that the page render does not have to wait for the database trip to execute in order to serve the page? If possible, how do I implement?

For example, we track various affiliate and search marketing data via query strings, and in the master page code behind, we write the given query string data to the database. The output of the page doesn’t change at all for the user (however we may set a cookie based off the qs parameter).

My understanding is that the page render has to wait for the database trip to fully execute in order to render the page. Is that even true?

  • 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-27T09:17:44+00:00Added an answer on May 27, 2026 at 9:17 am

    Yes in general though it can depend on how one handles the caching.

    First, you should move that tracking stuff to where it belongs — a HttpModule. Page need not concern itself. Second, what you probably want to look into is some sort of fire and forget service call or message queueing. This makes the database write a non-blocking operation rather than a blocking operation.

    Some options for making the operation non-blocking:

    • if you are actually writing to a web service, there is an underappreciated [OperationContract(IsOneWay = true)] decoration. Tells the generated proxy to fire and forget the call, will not wait for a response.
    • Another option would be to use the Asynchronous ADO.NET bits, especially BeginExecuteNonQuery. If you don’t handle the callback this should just execute off your thread.
    • You could always just spawn a thread and deal with it in a non-blocking manner yourself. Just be real careful about handling errors on this thread — unhandled exceptions will take out the app domain.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to pre-cache next web page into a thumbnail. Is it possible to
Is it possible to cache the response of a http handler on the server
I heard on a recent podcast (Polymorphic) that it is possible to cache a
Is it possible to clear the output cache of one asp.net web application from
Is it possible to query Google's cache with a specific date range. for instance,
Is it possible to cache only a specific part of a page in PHP,
Is it possible to get current category when Full Page Cache is enabled? Catalog
Possible Duplicate: How to clear browser cache with php? I have created a web
Possible Duplicate: Making sure a web page is not cached, across all browsers I
How to decrease the number of possible cache misses when designing a C++ program?

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.