Speeding up requestAction

2007-09-15 Thread BCN Adam
Hello all, I've been looking for a way to speed up requestAction and wanted to share a hack I came up with. It seems that the main problem is that the SessionComponent is re-instantiated and a new session is started each time. First i modified SessionComponent and added the following function:

Re: Speeding up requestAction

2007-09-15 Thread DanielSun
some thoughts: - I think session doesn't get reinstantiated everytime if you set $security setting to lower. - if you are using more than three (two?) requestAction calls It gets significantly slower, since the whole controller (or even more) gets loaded once more. If you are doing requestActions