Help Speed Up Your Website Load Time Using GZIP!

Using GZIP Compression with ColdFusion

As some of you might of heard, Google recently announced they are factoring in site speed as a criteria in their web search ranking. I have about 30 websites being monitored by Google's Web Analytics and over the past month or so I have noticed a significant drop in all their traffic. Now, I'm not 100% sure if this has to do with the new ranking rule or the fact that most US schools are out for summer, but either way this has me a little perplexed and I'm starting to wonder if this has anything to do with my code.

Reading up on a bunch of speed enhancement tips, the one thing I kept coming across is to use HTTP Header Compression. Basically, if the web browser supports it, you can GZIP your Scripts and CSS files and serve them instead of the uncompressed text files. Typically you can save over half the normal file size by doing this. Since I use ColdFusion for most of my sites, I had to find a way to integrate GZIP with ColdFusion. Here's what I came up with.

read full article

Problem: IE8 Caching AJAX Results

Internet Explorer 8 Is Having Problems Caching Returned JSON Results

As you all know, I released CJ File Browser 3.1 the other day and I thought I had tested the heck out of it. Well, a user discovered that it wasn't working properly in IE8. The script relies heavily on jQueries getJSON function to communicate with the handler engine (The code the does all the grunt work for the browser). The problem was occurring when the user uploaded or deleted the file. He had to close the browser window and the re-open it to see the results.

Immediately, I knew it was a caching issue. My first guess was the HTML file that handles the browser layout needed to have the no-caching META tags placed in the header. I added those, but the problem still persisted. Then it dawned on me, I had a similar problem with Safari and a problem it was having with caching iFrame content. This was solved by adding a simple URL parameter with it's value set to the current time. Safari would then see that something was different and would no longer cache the page.

read full article

CJ File Browser 3.1 Released!

My Attempt At The Ultimate Image/File Manager.

Finally, after two weeks of non-stop work, I have finally released version 3.1 of CJ File Browser, my image/file manager that can be used as a tinyMCE plug-in or be used in stand-alone mode. To anyone that downloaded the previous couple of versions, let me apologize to you.

Since the very first release of my ColdFusion File Manager, I have always tried to make it simple and easy for people to figure out how to use it. When I converted the code to make it a tinyMCE plug-in, it added a layer of complexity that I never really had time to deal with. The result of that led me down the path of releasing a bunch of sub-par projects to the public.

A few weeks ago, I decided I was going to re-write some of the code and try to clean things up a little bit. I quickly released version 3.0, found some little bugs and released version 3.0.1. Well, I got to be honest with you. That one was pure crap. And for that, I apologize.

read full article

How InvalidTag Destroyed My Morning

Incorrectly Blaming TinyMCE for My InvalidTag Problems

My entire morning was wasted on a perplexing little problem I was having trying to get TinyMCE to embed YouTube videos for one of my clients. I must have tried a gazillion different little hacks, mods and anything I could think of, but each time I hit the submit button, it seems as if the <object> and <embed> tags were being converted to <InvalidTag>. No matter what settings I used in the TinyMCE init script, it still was converting these tags. Guess what? It wasn't TinyMCE at all. It was ColdFusion all along! Go figure.

read full article

A New CJ File Browser Released

A ColdFusion File Manager That You Can Use With TinyMCE or In Standalone Mode

CJ File Browser Screen Shot (cjFileBrowser)Well boys and girls, It's been over two years since the last time I released a version of my ColdFusion file manager. Where has the time gone? Today I would like to introduce CJ File Browser version 3.0. Not only can you use it as a plug-in with TinyMCE, but now you can also use it in standalone mode. Of course, the standalone mode will require a little tweaking on your part!

When I first released my file browser 5 years ago, I had one goal. To provide you with a basic ColdFusion File Browser so you could modify it, create your own or just delve into the code to learn how it works. That goal hasn't changed, but this one definitely is not simple. It's using a ColdFusion component as the file handler engine, jQuery to make the JavaScript easier to code and a few new options to ensure a secure deployment.

read full article
Page: 1 2 3 4 5