http://www.perlmonks.org?node_id=999328


in reply to Re: Question on design for FastCGI
in thread Question on design for FastCGI

As I only have a beginning grasp of FastCGI, there are some concepts that I'm still grappling with.

Let's say I go with Approach 1 with the modules imported before the start of the loop. Then later in loop, one of the subroutines in say, Module2, is called. Am I right to say that because the code in Modole2 persists between responses, calling the subroutine is faster than if it were plain CGI?