I'm working on something that may be relavent to this issue.
I've been asked to split the header.pl file into two
sections, one for CGI functions and the other for general
functions.
The reason for this is the to continuing problems of delays
on older machines which have to read in a lot of CGI only
functions in header.pl when we only want to run a simple
Perl script (eg ip-up).
On a Pentium 75Mhz with 64MB this results in huge reduction
in the time need to process the functions file from 3.5s to
0.3s.
The patch has not been accepted, or earmarked for any
particular release, and anyway needs to be altered to take
account of recent changes in a particular CVS branch.
There are two potential problems for an addon system:
1) The file that contains the version number and non-CGI
functions will be changed.
2) There is also a possibility that location of the CGI file
may be changed.
As the version number appears to only be read once by your
code, and the "addto_header" function looks to be quite
flexible, I would hope that this change would not cause you
many problems.
If I am wrong about this you have anything that you feel is
important then feel free to either email me or tag on a
message to the Sourceforge page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=790224
Working in a rudimentary fashion for addon server. Need to
tidy this up and get working for MODS as well.
Logged In: YES
user_id=820135
I'm working on something that may be relavent to this issue.
I've been asked to split the header.pl file into two
sections, one for CGI functions and the other for general
functions.
The reason for this is the to continuing problems of delays
on older machines which have to read in a lot of CGI only
functions in header.pl when we only want to run a simple
Perl script (eg ip-up).
On a Pentium 75Mhz with 64MB this results in huge reduction
in the time need to process the functions file from 3.5s to
0.3s.
The patch and resultant discussion can be found here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1058146&group_id=40604&atid=428516
The patch has not been accepted, or earmarked for any
particular release, and anyway needs to be altered to take
account of recent changes in a particular CVS branch.
There are two potential problems for an addon system:
1) The file that contains the version number and non-CGI
functions will be changed.
2) There is also a possibility that location of the CGI file
may be changed.
As the version number appears to only be read once by your
code, and the "addto_header" function looks to be quite
flexible, I would hope that this change would not cause you
many problems.
If I am wrong about this you have anything that you feel is
important then feel free to either email me or tag on a
message to the Sourceforge page.
Logged In: YES
user_id=790224
Thanks, I'll have a look at the patch to see the
implications. Although the links provided seems to take me
to a discussion about video cards.
Logged In: YES
user_id=790224
Think the link should be
https://sourceforge.net/tracker/index.php?func=detail&aid=1101869&group_id=40604&atid=428519
Logged In: YES
user_id=1133275
This would be great... would have saved me from the
headache I have now... Addon Server died after update to
1.4.4.
Logged In: YES
user_id=790224
Could never have survived the 1.4.4 patch as it was a
funamental structure change by splitting the header.pl file up.
Partly to solve this very problem.