Print Page | Close Window

GET /forum/includes/pngbehavior.htc

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24011
Printed Date: 07 April 2026 at 12:42am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: GET /forum/includes/pngbehavior.htc
Posted By: Nick-V
Subject: GET /forum/includes/pngbehavior.htc
Date Posted: 31 July 2007 at 11:34pm

I'd like to understand why I am getting repeated GETs in the IIS log for this file:

GET /forum/includes/pngbehavior.htc
 
I get an uniterupted run of sometimes 70 successful GETs in a period of 12 seconds of so from the same IP and other times from other IPs including my own internal IP 192.168.xxx.xxx
 
That sort of hit is similar to a Brute Force Attack. My server has expire immediately headers set if that's relevant...



Replies:
Posted By: WebWiz-Bruce
Date Posted: 01 August 2007 at 7:51am
This file is loaded in with the CSS file.

The file is required for IE 5 and 6 users so that the images display correctly in their browser.

There is no other reason for this file to be loaded, however, if your server has expire immediately headers then the browser will not cache this or any other page in the forum, so you will use allot more bandwidth and reduce the speed of the forum.

I'm not sure why you have set headers to expire immediately, I would suggest that you do not as it increases server hits, uses more bandwidth, and decreases page load times.

If you want particular pages or files to expire immediately and not be cached I would suggest setting the headers of just those files to expire, you can place the following code in the top of those files:-

Response.Expires = -1
Response.ExpiresAbsolute = Now() - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "No-Store"


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Nick-V
Date Posted: 01 August 2007 at 12:44pm
OK thanks Borg...I suspected it might be the expire thing so I'd bring it to attention to prevent others having issues.
 
Actually the site has always been like that for historic reasons (now set to daily to make it right) and it never seemed to impact performance - but maybe this is a V9 thing...so far the logs now look OK again.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net