Simple PHP Caching

October 2, 2006

Today I was working on a script that generates two drop-down select box with 28472 and 6197 options respectively. Those are long running items, mostly because it’s based on a javascript selection that shows or hides the two select boxes as needed. That means the javascript engine is trying to cope with appending and removing two giant select boxes into the DOM tree. I didn’t realize this at first, I thought it was just a long query so I made this cache. Anyway, it should save some time on the PHP side while I try to put together a better solution.

Essentially it works like this:

Wow, I totally made up my own ugly version of a modeling language there, I’m so cool.

Categories: Geek
Tags: ,

Leave A Comment

Your email will not be published.