Forum Moderators: phranque
Currently my pages each make about 12 or more ssi includes to produce the final pages.
I wish to cause that to occur once to produce the final file, then make that completed file available for download (rather than my visitors calling the file that does all of the ssi). In other words, rather than have 12 ssi includes occur every time a visitor downloads file A, I want to download file A and have the 12 includes occur once, then make the finished file A product available for download by visitors.
This way I could still modify the files and site via ssi, but the visitors can download files that don't have to do ssi because the ssi has already been done to create the file they are downloading.
I think I could copy the source of the completed file and paste it into a file, but is there anything more efficient in case i have many pages?
As you mention, this means the compilation overhead is incurred only when the data changes, rather than on every page view. This is sometimes called "semi-static" publishing.
Alternatively, you could generate the pages offline on your desktop PC using VBscript in WSH (Windows Scripting Host) or in MS Access, and then upload the pages as normal via FTP.