What I want is to export the html code that gets generated by say the html.pl files... the reason being is I created header.pl files but what i found out is that you have to load the database to get those html files that are created by the .pl files... but that can be very slow and esp when i have more then one database definded... it would have 3 of them which i use... just to display a few feilds out of the rest that i have...
I have about say 20 different feilds/types and i use for my main html.pl only to display the general info
then i have a detail.pl that displays all the feilds for that record...
I then have on the front page header.pl files which just show about the first 5 most resent records with only 2 or so feilds being displayed...
as you can see this can be very slow but with a file that is generated into text just taking those 5 records and puting them in a text file i can then just use ssi to read in that text... which would be very fast and in a similar way to how say newspro does the news... it places the html that is displayed in a .txt and the server just loads that file and doesnt have to execute the cgi... it only needs to execute the cgi when some changes are made to it...
I tried to look at the mod sections but I dont understand which one would work for me... maybe someone can help me out fast :) and im sure this will help others too
I have about say 20 different feilds/types and i use for my main html.pl only to display the general info
then i have a detail.pl that displays all the feilds for that record...
I then have on the front page header.pl files which just show about the first 5 most resent records with only 2 or so feilds being displayed...
as you can see this can be very slow but with a file that is generated into text just taking those 5 records and puting them in a text file i can then just use ssi to read in that text... which would be very fast and in a similar way to how say newspro does the news... it places the html that is displayed in a .txt and the server just loads that file and doesnt have to execute the cgi... it only needs to execute the cgi when some changes are made to it...
I tried to look at the mod sections but I dont understand which one would work for me... maybe someone can help me out fast :) and im sure this will help others too