I'm updating an old bit of custom Joomla plugin, and there's a deprecated line saying JResponse::allowCache(false);
-- what's the "right" way to handle this for Joomla 3.x compatibility?
Also, perhaps this could be a separate question, but is there a way to set key => value pairs manually in the Joomla cache? For example, this plugin does lookups for US states. So if it's displaying a lot of information, it has to hit the DB over and over looking for the state abbreviation, when we could simply cache this response.