Dear Keary, Kjell & All:
Yes indeed. I had been following this thread but wasn’t entirely sure I understood the question, but now. So here goes:
I have about 100 small Cappuccino programs running there, with ≈2000 visitors daily, and organised as follows:
• only »jake release« is used, not deploy, so no cappuccino libraries are embedded
• the usual Cappuccino »index.html« is referenced in an iFrame
• said index.html has ONE important line, which I show here in context
OBJJ_INCLUDE_PATHS = ["../../-misc/cappuccino/Frameworks"];
OBJJ_MAIN_FILE = "main.j";
so the »OBJJ_INCLUDE_PATHS« is used to point to the folder where all Cappuccino stuff lives.
• The site is arranged like so
-<-misc>/cappuccino/Frameworks/ <AppKit, Foundation, … own classes>
-<item1>/capp/index.html <here also release stuff, like <Browser.environment, Res…, …>
-<item2>/capp/index.html <here also release stuff, like <Browser.environment, Res…, …>
-<item99>/capp/index.html <here also release stuff, like <Browser.environment, Res…, …>
• All in all: “released” stuff runs at same speed as “deployed”, and I have only one instance of all of Cappuccino’s frameworks, thus saving massively on download
• it speeds up enormously to enable GZIP, in Apache these two lines did the job for me
AddOutputFilter DEFLATE sj j cib js css
AddOutputFilter DEFLATE .obj
Enjoy, best, Michael
PS: I'm really lookin forward to Aristo 3, and thank everyone being so hard at work on this.
Prof. Michael Bach PhD, Eye Center, University of Freiburg, Germany.