Debugging applications that use behaviors and another tip
Clearing the cache
When locally debugging a Web application that uses behaviors(htc files) you need to delete the IE cache before testing each change in the htc file. Here is an example:
C:\Documents and Settings\Christian\Local Settings>del /s myselectbox* # Notice the directory.
Apache httpd.conf configuration for Web applications that use Behaviors .htc
If you are using Apache and your web app uses Microsoft's behaviors(.htc files) for IE you need to use this optimization. For some reason Apache does not handle .htc files well -- there is a tremendous amount of header requests that go back and forth when .htc files and Apache are in action together. This optimization will put an end to the excessive header requests.
### mod_expires settings
AddType text/x-component .htc
ExpiresActive On
ExpiresByType text/x-component "access plus 1 day"
- Pushed on 10/21/2010 by Christian