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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:55:31+00:00 2026-05-11T16:55:31+00:00

Scenario : I have an ASP.NET MVC application developed in Visual Studio 2008. There

  • 0

Scenario: I have an ASP.NET MVC application developed in Visual Studio 2008. There is a root folder named “Content” that stores images and stylesheets. When I run locally (using Cassini) and browse my application, every resource from the “Content” directory is always downloaded. Using Firebug, I can verify that the web server returns an HTTP 200 (“ok”).

Desired: I would like for Cassini to return HTTP 304 (“not modified”) instead of 200. This is the behavior when running the site under IIS7.

Reasoning: The site I am working on has a large number of static resources (often as many as 40 per page). Browsing the site is very fast on IIS7, because these resources are (correctly) cached by the browser. However, browsing the site on my local machine is painfully slow.

Pages that render in under 1 second on IIS7 take over 30 seconds to render on Cassini. It’s actually faster for me to upload the entire website every few minutes and test from there. (Yes, I recognize that this is perverse and crazy.)

So: how can I instruct/trick Cassini into treating the “Content” directory like IIS7 does?

  • 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-11T16:55:31+00:00Added an answer on May 11, 2026 at 4:55 pm

    Are you sure the problem is caching? Because the content does get cached correctly on my machine when I run the application on Cassini.

    I think the problem you’re having could be Firefox’s under-performance with resolving IPv6 addresses, which causes a very annoying delay on loads with addresses like http://localhost:55555.

    What I did to change this behaviour was to change the network.dns.disableIPv6 preference on about:config to true on Firefox. I suggest trying that.

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

Sidebar

Related Questions

I have an asp.net mvc 3 application. In this application I have a reminder
Here is my scenario. I have an ASP.NET MVC solution with 3 projects. Data,
I have an ASP.NET MVC 3 site using a custom route for specifying the
Possible Duplicate: Caching in asp.net-mvc i have an asp.net-mvc site and i am running
Using ASP.Net Forms and ASP.Net MVC 3 (combined - we are in process of
I have been trying out EF 4.1 ( code first ) with MVC 3.
I have discovered what appears to be a bug using MVC 3 with the
I have implemented 2 payment gateways in my app (paypal and datatrans). In both
Let's imagine this scenario Running Dropbox in my Windows Work PC, my Windows Home
I may be looking for a non-existent holy grail here, but it's worth a

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.