
December 31 2007 by

Andrew Powell
When building Flex applications, I always use
Service Capture to help debug remoting calls. Well, it turns out that with SC version 1.2.22, it will not read the AMF data coming from BlazeDS. It will read the data sent to BlazeDS, but not the data coming out. I am sure this will be fixed soon, but a head's up to anyone else running into this problem.
Posted in Flex | BlazeDS | ESRI | IIS | Adobe | Training |
4 comments

October 17 2006 by

Andrew Powell
Ok, so maybe the title was a bit misleading.
One side effect of having CF generate your XML files for Spry datasets is that every time a dataset is loaded or re-loaded, you're making a call to CF. This call to CF is eating up a processing thread, of which there are a limited number. On a high-traffic site, with a lot good number of Spry regions (in one case, dynamic drop downs), you can see ColdFusion's load actually increase b/c it is doing more work "behind the scenes" to build and deliver the XML files to the browser.
Read more...
Posted in Apache | ColdFusion | Caching | General | Spry | IIS | XML | AJAX |
6 comments

October 05 2006 by

Andrew Powell
One of the fastest ways to speed up your web application is to enable content expiration on your web server. You do not want to do this for your CFM pages, but your CSS, images, JS files, and any other assets that do not change on a regular basis are all candidates for content expiration.
When you set content expiration, the client will not even check for a new version of the file on the server until that asset's expiration date has passed. A good expiration period to use is 1 day. This will make all assets download the first time they are pulled, then not again for 24 hours.
Read more...
Posted in Apache | Caching | General | IIS |
2 comments

September 28 2006 by

Andrew Powell
I was terribly vexed about a problem I was having on an IIS cluster. I had set content expiration on the images to a value way out in the future, but they were still being downloaded each time a page was requested. This was only happening in IE and not Firefox or Safari.
Read more...
Posted in Caching | General | IIS |
0 comments

August 31 2006 by

Andrew Powell
I ran into a problem yesterday where, when using a SSL accelerator, which talks HTTPS to the browser and plain ol' HTTP to the server cluster, the site was mysteriously cutting over to a HTTP version of the site thereby losing all the user's cookies which were set while using SSL.
Using
Service Capture, I was able to see that the server was throwing a
301 code then redirecting to HTTP instead of HTTPS.
It turns out that if you have URL in the fashion of "http://www.mydomain.com/subDir", IIS looks for the file "subDir" first. IF it cannot find the file, it will do a "courtesy redirect" to "http://www.mydomain.com/subDir/".
Since the server is so kind to redirect like that and, it thinks it's talking HTTP because the SSL accelerator is doing the SSL between the cluster and the browser, the server redirects to a HTTP location, not a HTTPS location. This is called a
courtesty redirect. Thanks Microsoft.
Posted in ColdFusion | General | IIS |
1 comments