I'm working on a page that uses an AJAX "accordion" to display upcoming events modules for high-school sports teams. Throughout the year, the schedule changes, and the active sports teams rotate (some visible, some not). Currently I'm using mosCountModules (Joomla 1.0.x) to determine if a certain tab of the accordion gets displayed or not. That way the school can unpublish modules not in use, and the tab will disappear completely.
My question is this: There are over 40 teams that play throughout the year. Is it a bad idea to have that many PHP scripts checking for modules every time that page is loaded? I want to avoid a "CPU overloaded" error from my host, and am not sure if that is playing with fire or not.
Thanks for any advice!
-Mike
*Lots* of mosCountModules on one page a bad idea? Topic is solved
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida