P.S. one of my target interfaces is mobile devices (via web browser) and the cpu on those devices are not as powerful of the desktops/laptops so any performance improvement can really help.
Davide P. Cervone
Unfortunately, this will not work. The HTML that jsMath produces differs depending on the browser, the platform, the fonts the user has installed, and even some settings of the user's browser (e.g., the default font size). So caching the results that you get in YOUR browser, will not work for many other users. That is why jsMath runs in the browser, not on the server. Sorry.
Thanks for clarifying that, David.
From your setup, it sounds like you can run your TeX through normal shell commands, output a .png image, and send that down the line.