Monthly Archives: September 2010

How to disable cache in IIS

I have been developing a PHP application running on IIS, and recently came across some caching issues. Lots of them. Normally, caching doesn’t bother me. In fact, it can help performance significantly. However, when I am developing, I don’t want anything to cache. Ever. It throws off the development.

Here’s how to do it in IIS:

  1. From IIS, select the website.
  2. Open “Output Caching” under the IIS section.
  3. Click “Add…” from the Actions panel.
  4. Specify an extension, Check “User-mode caching” and “Kernel-mode caching” and select the “Prevent all caching” options under each section.
  5. Click OK
  6. Restart the website.

Randy Pausch Last Lecture: Achieving Your Childhood Dreams

Randy Pausch (Oct. 23, 1960 РJuly 25, 2008), who was a professor at Carnegie Mellon, gave this lecture on Sept. 18, 2007, 10 months before he passed away of cancer.

This lecture really helps put things into perspective. It’s a bit long, but I think you’ll enjoy it.

“You’ve got to get the fundamentals, otherwise the other stuff isn’t going to work.”
“When you’re screwing up, and nobody’s saying anything to you anymore, that means they gave up. Your critics are the ones telling you they love you and they still care.”
“Experience is what you get when you didn’t get what you wanted.”
“Brick walls are there for a reason. The brick walls are not there to keep us out. The brick walls are there to give us a chance to show how badly we want something. Because the brick walls are there to stop the people who don’t want it badly enough.”
“Wait long enough and people will surprise and impress you. When you’re [mad] at someone, you just haven’t given them enough time.” Jon Snoddy
“They’re both ways of saying ‘no’, but one’s a good way and one’s a bad way.”
“Until you’ve got ice cream spilled on you, you’re not doing real field work.”