Problem Event Handlers in a Default Document in IIS 7 or IIS 7.5 Integrated Mode with FluorineFX Http Module

Posted by admin on September 10th, 2011

images Problem Event Handlers in a Default Document in IIS 7 or IIS 7.5 Integrated Mode with FluorineFX Http Moduleicon asp.net  Problem Event Handlers in a Default Document in IIS 7 or IIS 7.5 Integrated Mode with FluorineFX Http ModuleSome while ago I noticed that an OnClick isn’t triggered when a default aspx page is loaded (for instance browsing to http://localhost/test) but it is when browsing directly to http://localhost/test/default.aspx. The default document is set to Default.aspx, but for some reason, the click event isn’t triggered when doing a Postback.

Read the rest of this entry »

Forcing browsers to revalidate static content in IIS – Asp.NET

Posted by admin on September 3rd, 2011

icon WebCache 150x150 Forcing browsers to revalidate static content in IIS   Asp.NETHow do you force browsers to revalidate static content like an swf, xml, txt, … files? We often have this problem with customers and advise them to clear their cache. Not a very good solution don’t you think?

So how do you solve this? We could append the version of our product to the static files, so that with a new release, browsers wouldn’t hit their cache loading the file. A condition for this to work would be that the home page (default page) should always be the latest version from the server. This page would have references to the static files with version appended to them.

What about browsers asking the server if a newer version is available. In comes the must-revalidate header.

Read the rest of this entry »

pixel Forcing browsers to revalidate static content in IIS   Asp.NET

Copyright © 2007 Lieven Cardoen. All rights reserved.