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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:24:19+00:00 2026-06-04T20:24:19+00:00

I have an IIS 6 server running .net 4.0, that is returning 304 (Not

  • 0

I have an IIS 6 server running .net 4.0, that is returning 304 (Not Modified) for IE, but not for Firefox or Chrome. I never want this and other calls in the save .svc file to cache, but always to be 200 and new data. I’m not seeing this on localhost on Win7 that has IIS7.5 running.
The response header has a Cache-Content: private and when running under IIS 6, Fiddler doesn’t even show the request.

[OperationContract]
[WebGet(UriTemplate = "usertoken/populate")]
public ClientUserToken PopulateUserToken()
{
  return HttpContext.Current.Session["userToken"] as UserToken;
}

I can add a [AspNetCacheProfile(“NoCachingProfile”)] to each method and

<outputCacheSettings>
    <outputCacheProfiles>
        <add name="NoCachingProfile" noStore="true" duration="0" varyByParam="none" enabled="false"/>
    </outputCacheProfiles>
</outputCacheSettings>

to the web.config, but I’d like to avoid having to add this to every operation.
Is there an IIS setting to do this or should it be code driven? Why does it happen only in IE?

  • 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-04T20:24:20+00:00Added an answer on June 4, 2026 at 8:24 pm

    This is not the service’s problem, it is IE. Fiddler shows nothing because the browser didn’t send anything, it’s using the last cached response. Use Post if you can, otherwise make each Get request look different like:
    url: "usertoken/populate?" + new Date().getTime()
    Older IE is bad with ignoring no-cache with Gets

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

Sidebar

Related Questions

We have a web server running IIS 6.0 and ASP.NET MVC, that is serving
I have an iis server on a windows 2003 production machine that will not
I have a Virtual Private Server running windows IIS hosing a startup site (.net
We have a legacy ASP.net powered site running on a IIS server, the site
Can someone explain how the ASP.NET Web Development Server work? I don't have IIS
I have a Windows 2008 Server with IIS 7 which using a .NET C#
I'm using Intelligencia url rewriting currently but have just leased an IIS 7.5 server
I have an asp.net website (SQL Server, Windows 2003, IIS 6) and I am
I’m trying to install a 32-bit ASP.NET application onto a 64-bit IIS server running
I just installed .NET 4.0 on my Win 2003 Server running IIS. I didn't

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.