This is a complex topic, but here's a cursory explanation:

 

The Web Server, in this case IIS, sets Content Expiration info and information about then things are modified in the HTTP Headers.  If you ask for something from the Web Server, but you say "only if modified since..." they will pass back “Not-Modified” HTTP Headers to the Browser. You can see this even when hitting F5 to refresh the browser if you use a tool like ieHTTPHeaders (http://www.blunck.info/iehttpheaders.html) .  Look at IE Content Expiration in the Properties. 

Most folks like to have a “/images” folder that has SEPARATE Content Expiration settings and static content, or many levels of image volatility.

 

You have a few possible solutions:

 

·         Have volatile (often changing) images stored in one folder and set to expire immediately or on your specific schedule. 

·         Have the Browser user press CTRL-F5 to “blow through the cache”…F5 in IE will NOT fetch updated images until they expire. Pressing CTRL-F5 will keep the browser from including “If-Not-Modified” – which is equivalent to saying “get it anyway.”

·         Check the GET requests of your images in the HTTP Headers to see when they will expire...then wait. ;)

·         If you are generating the images yourself (dynamically generated on the server side) then you control the headers, so you can force updates by writing the appropriate headers yourself.

A picture named image001.jpg

Notice in this screen shot that even though I pressed F5, the Web Server responded “This image hasn’t been modified!”

A picture named image002.jpg

Even more, this request from the browser specified “Only give me this image if it’s been modified since a certain date.”

A picture named image003.jpg

The moral of this story is, you'll never know the WHY of the behavior of your system unless you know both the HOW of the HTTP Spec and the QUIRKY HOW of the browser whose behavior you're examining.

 



Schema Versioning

Posted 2003-06-17 07:30 AM in Web Services.

Schema Versioning: Changing a namespace is not versioning, it is new type creation. [meta-douglasp]

Ok...I can see that point of view...then does versioning (as we hope to know it) simply not exist in the world of Schema?

Updated Thought: Certainly COM ProgIds like Word.Application.8 isn't "versioning," but rather new Type/Interface creation with versioning by allusion.



Where's Juval Lowy?

Posted 2003-06-16 10:02 AM in Web Services | TechEd | Speaking.

One of my heros (not cuz he can code, but boy, can he drink!) is Stephen Forte...he stole one of the Flat Juval Lowy Software Legends standups at TechEd (I was going to help, but I wimped out) and proceeded to take it on a whirlwind trip around Texas, including some of the nicer bathrooms...anyway, Stephen's put the pictures up, enjoy.



Someone wanted to know what the equivalent "preprocessor macros" in C# are for __FILE__ and __LINE__.  They watned to log the current file name and line number.  Note that the "1" as the first parameter to the StackFrame constructor tells it to skip ONE frame up the stack, while the true tells it to capture the file and line info.

[STAThread]
static void Main(string[] args)
{
     ReportError("Yay!");
}

static private void ReportError(string Message)
{
     StackFrame CallStack =
new StackFrame(1, true);
     Console.Write("Error: " + Message + ", File: " + CallStack.GetFileName() + ", Line: " + CallStack.GetFileLineNumber());
}



This is not really technical or .NET related, but hey.  The signal-to-noise ratio is still high around here, eh? :)

So, my wife bought herself a Honda Civic Hybrid, as previously posted, and we need to sell her '97 Mitsubishi Mirage DE Coupe.  I suppose I could post adds on Vehix.com and http://www.oregonlive.com or <gasp> the newspaper.   But, I could also (possibly) take advantage of the power of Google, Weblogging and Keven Bacon and post the link here: http://www.computerzen.com/carforsale

Then, I sit back and hope that this thrilling blog post is linked to furiously, driving my site up the Google Page Ranks system to the point where ANYONE in Oregon who even THINKS, "Used Cars Oregon," "Good Used Car Oregon" or "Mitsubishi Oregon" will be magnetically sucked into my world and compelled to purchase.

Updates on this crucial experiment as the queries pour in.

Or, could I just use the Nickel Ads...




Contact

Sponsors

Hosting By

Hot Topics

Tags

Calendar

<June 2003>
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

Archives

February, 2010 (8)
January, 2010 (13)
December, 2009 (13)
November, 2009 (7)
October, 2009 (19)
September, 2009 (11)
August, 2009 (12)
July, 2009 (21)
June, 2009 (26)
May, 2009 (16)
April, 2009 (13)
March, 2009 (17)
February, 2009 (17)
January, 2009 (18)
December, 2008 (32)
November, 2008 (17)
October, 2008 (22)
September, 2008 (16)
August, 2008 (14)
July, 2008 (25)
June, 2008 (19)
May, 2008 (17)
April, 2008 (17)
March, 2008 (26)
February, 2008 (21)
January, 2008 (28)
December, 2007 (19)
November, 2007 (17)
October, 2007 (31)
September, 2007 (39)
August, 2007 (37)
July, 2007 (43)
June, 2007 (37)
May, 2007 (32)
April, 2007 (38)
March, 2007 (29)
February, 2007 (46)
January, 2007 (31)
December, 2006 (27)
November, 2006 (31)
October, 2006 (32)
September, 2006 (39)
August, 2006 (34)
July, 2006 (40)
June, 2006 (18)
May, 2006 (31)
April, 2006 (34)
March, 2006 (30)
February, 2006 (38)
January, 2006 (44)
December, 2005 (19)
November, 2005 (34)
October, 2005 (24)
September, 2005 (37)
August, 2005 (20)
July, 2005 (24)
June, 2005 (33)
May, 2005 (16)
April, 2005 (22)
March, 2005 (34)
February, 2005 (15)
January, 2005 (37)
December, 2004 (28)
November, 2004 (30)
October, 2004 (34)
September, 2004 (22)
August, 2004 (34)
July, 2004 (18)
June, 2004 (64)
May, 2004 (49)
April, 2004 (21)
March, 2004 (29)
February, 2004 (29)
January, 2004 (36)
December, 2003 (25)
November, 2003 (24)
October, 2003 (59)
September, 2003 (42)
August, 2003 (24)
July, 2003 (44)
June, 2003 (29)
May, 2003 (21)
April, 2003 (30)
March, 2003 (27)
February, 2003 (47)
January, 2003 (50)
December, 2002 (31)
November, 2002 (38)
October, 2002 (44)
September, 2002 (15)
May, 2002 (2)
April, 2002 (4)

Google Ads