Hi All,
I really appreciate the help and responses on this. Let me describe my setup in more detail. Perhaps there is some configuration changes that someone might suggest to help. My server is in our local data center. Network and server performance should not be any issue. Keep in mind, all responses are very fast after the initial connection. It is just in loading the wiki initially where the delay is - before the first (default) tiddler is presented. The server itself is a VM with 4 cores, 8GB ram, running CentOS 7. The config for NGINX is: # HTTPS server # server { listen 8443 ssl; server_name stratus.emon.nc.gov; ssl_certificate /etc/nginx/ssl/server.crt; ssl_certificate_key /etc/nginx/ssl/server.key; ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; location / { root /home/ncemonwiki/emonwiki; auth_basic "Restricted"; auth_basic_user_file /home/ncemonwiki/emonwiki/.htpasswd; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; proxy_pass http://127.0.0.1:8080; } } The wiki starts via systemd: [Service] WorkingDirectory=/home/ncemonwiki/emonwiki ExecStart=/usr/bin/node /usr/bin/tiddlywiki /home/ncemonwiki/emonwiki --server Restart=always StandardOutput=syslog StandardError=syslog SyslogIdentifier=ncemonwiki User=ncemonwiki Group=ncemonwiki Environment='NODE_ENV=production' [Install] WantedBy=multi-user.target And the wiki is located under userid ncemonwiki in the home directory: [ncemonwiki@stratus ~]$ ls emonwiki [ncemonwiki@stratus ~]$ cd emonwiki [ncemonwiki@stratus emonwiki]$ ls -al total 16 drwxr-xr-x. 3 ncemonwiki ncemonwiki 59 Sep 26 12:36 . drwx--x--x. 5 ncemonwiki ncemonwiki 4096 Oct 7 09:15 .. -rwxr-xr-x. 1 ncemonwiki ncemonwiki 329 Sep 26 14:56 .htpasswd drwxr-xr-x. 2 ncemonwiki ncemonwiki 4096 Oct 6 16:12 tiddlers -rw-r--r--. 1 ncemonwiki ncemonwiki 239 Sep 26 09:27 tiddlywiki.info [ncemonwiki@stratus emonwiki]$ cat tiddlywiki.info { "plugins": [ "tiddlywiki/tiddlyweb", "tiddlywiki/filesystem", "tiddlywiki/codemirror", "tiddlywiki/highlight" ], "themes": [ "tiddlywiki/vanilla", "tiddlywiki/snowwhite" ] }[ncemonwiki@stratus emonwiki]$ cd tiddlers [ncemonwiki@stratus tiddlers]$ ls -al total 1544 drwxr-xr-x. 2 ncemonwiki ncemonwiki 4096 Oct 6 16:12 . drwxr-xr-x. 3 ncemonwiki ncemonwiki 59 Sep 26 12:36 .. -rw-r--r--. 1 ncemonwiki ncemonwiki 8186 Oct 3 10:20 ACS_ 5.5 Policy Model.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 299311 Oct 1 13:59 BlockBDPU_Disabled_Port.png.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 213576 Oct 1 13:48 BlockBDPUGuard_event.png.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 158061 Oct 1 13:49 BlockBDPUGuard_event_rule.png.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 242672 Oct 1 14:00 BlockBPDUGuard_Ticket_Sample.png.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 49313 Oct 1 14:36 BPDUGuard_event_rule_criteria.png.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 100637 Sep 30 12:30 Cisco IOS Device Location.png.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 166 Sep 26 13:40 $__config_PageControlButtons_Visibility_$__core_ui_Buttons_control-panel.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 173 Sep 29 08:15 $__config_ViewToolbarButtons_Visibility_$__core_ui_Buttons_more-tiddler-actions.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 126 Oct 2 10:53 $__DefaultTiddlers.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 827 Oct 6 16:11 Documentation on eMon Systems and Tools.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 3352 Sep 26 09:27 emonParseMotd.py.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 40525 Sep 26 13:56 emonUtilBox.png.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 1135 Sep 30 13:39 emonwiki Maintenance.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 2370 Oct 1 11:24 Formatted sysLocation.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 2596 Sep 26 14:05 HP BSM_ Changing NCFAST Script Password.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 1319 Sep 26 13:14 htpasswd.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 1289 Sep 26 09:27 Linux_ Find Open Port Process.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 938 Sep 26 09:27 Linux_ Find When System Last Started_Shutdown.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 509 Sep 26 09:27 Linux_ Using Systemd.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 265508 Sep 26 13:56 MajorMCServers.png.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 181 Oct 6 15:47 MARS Archives.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 4509 Oct 6 15:48 MARS Server Info.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 848 Sep 30 13:42 NCeMon Team Responsibilities.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 824 Sep 30 13:46 NCeMon.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 455 Oct 2 13:01 NCeMon_TiddlyWiki.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 141 Sep 26 12:52 $__SiteSubtitle.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 124 Sep 26 12:49 $__SiteTitle.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 2117 Oct 2 10:48 SOI_ 3.3 Beta Program.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 1113 Oct 6 16:12 SOI_ Alert Column Heading Customization.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 792 Oct 2 09:45 SOI_ Email Templates.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 12656 Oct 6 16:08 soi_image001.png.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 23888 Oct 6 16:09 soi_image002.jpg -rw-r--r--. 1 ncemonwiki ncemonwiki 68 Oct 6 16:09 soi_image002.jpg.meta -rw-r--r--. 1 ncemonwiki ncemonwiki 4291 Oct 1 14:39 Spectrum_ Cisco Syslog Trap Customization.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 2941 Sep 26 09:27 SystemEDGE_ Custom Extensions.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 994 Sep 26 09:27 SystemEDGE_ Linux - Parse motd File.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 1068 Sep 26 09:27 SystemEDGE_ Starting, Stopping, Restarting the SystemEDGE Service.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 921 Sep 26 09:27 SystemEDGE.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 200 Oct 3 15:28 TableTest.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 128 Sep 26 14:47 $__theme.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 104 Sep 26 10:29 $__view.tid -rw-r--r--. 1 ncemonwiki ncemonwiki 203 Oct 6 15:43 WP1ITSPECTEST7.tid [ncemonwiki@stratus tiddlers]$ The way I understand this is that we are simply forwarding the requests from nginx to the http server built in to the tiddlywiki program. From the responses so far, I'm thinking there must be another way to configure this that I'm missing. I'm wondering where tiddlywiki actually stores the rendered html content. Thanks again to everyone. On Tuesday, October 7, 2014 8:16:56 AM UTC-4, PMario wrote: > > On Monday, October 6, 2014 6:28:32 PM UTC+2, Rick Williams wrote: >> >> We have tw5.1.2 installed for Node.js and with NGINX. We're using a >> daemon to run the wiki out of it's own directory >> (/home/ncemonwiki/emonwiki) and using SSL to access the nginx server >> running one the same server. >> >> At initial connect from Chrome browser, it takes about 60 seconds to >> server the wiki. >> > > I don't understand, where those 60 seconds come from. It should be not > more than if you go to tiddlywiki.com. ... Assuming you have similar > number of tiddlers and your server is not a watch. > > I'm not sure, if I understand "we are using SSL to access the nginx > server". you have a https:// domain? This shouldn't add that much overhead. > > What internet connection do you use? downlaod speed? > What is your client hardware? > > > Eventually, we'd also like to be able to navigate directly to individual >> tiddlers (with permanent url) with less than 3 second response. >> > > TiddlyWiki can build a static html version for every tiddler. So it would > be easy to serve it with nginx. Depending on the location of your server > and the location of the user it shouldn't be more than 400 ms for a static > page. If I load tiddlywiki.com it needs about a second and consider this > to be slow. I personally won't see a page, that needs 3 seconds. I close > the tab after 2 :/ ... joking, but imo 3 seconds is frustrating. > > -m > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.