I want to make a lightweight ajax call in Joomla ( all I need is basically a php script that makes a curl call). Currently, we're doing this in components controller tasks (com_home, com_widgit, etc).
This is causing a lot of unneeded overhead by loading Joomla. Performance testing shows that a plain php script with a curl call is order of magnitudes faster than using the joomla controller.
I've looked into the com_ajax but from what I can tell its not what I'm looking for since I'm the component developer: http://docs.joomla.org/Using_Joomla_Ajax_Interface
If you are a component developer, you do not need to use com_ajax to implement Ajax functionality in it. You can do so directly in your component.
I also have access to the server and can make ajax calls outside of Joomla, but since that seems like a hack I'd rather use Joomla, if possible.
Is there a way to make a lightweight ajax call in joomla?