Table of Contents

Web Programming

The Immigrant Story

HTTPS Setup

Pretty straightforward. https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04

Main page

Add another “row” by editing “Front Page” page.

Response Time

Digital Ocean

Trying standard Wordpress install, but dies when more than 1-2 users access it because it ran out of RAM and is dynamically allocating more ram and we're at 80% of 1GB. Lame.

Trying out litespeed wordpress template:

HTTrack

Works the best. To be clear, the *WinHTTrack* works the best. The linux one (WebHTTrack) didn't quite get everything. Also the behavior is slightly different.

Clone Wiki
+*.png +*.gif +*.jpg +*.jpeg +*.css +*.js -ad.doubleclick.net/* -mime:application/foobar

-*recent -*edit -*revision -*backlink -*siteexport -*siteexport_addpage -*dokuwiki__top -*&do=media -*index -*&do=login* -*&do=resendpwd* -*do=export*
--disable-security-limits

Others

Better is to just render WP to HTML for now.

Trying to speed up the immigrant story …. https://onlinemediamasters.com/slow-wordpress-hosting-bluehost/

Enabling the CDN here caused everything to crash! https://my.bluehost.com/hosting/wordpress_tools/performance/

opcache_enabled=1 in php.ini

BlueSky, paid Bluehost Wordpress-specific support. $99/mo

Higher CPU usage on our server right now. Box 2233

VPS gives you full access, but Bluehost wouldn't be managing anything. Not ideal for our use case.

Also dan luu: https://danluu.com/octopress-speedup/

This blog is a static Octopress site, hosted on GitHub Pages.

Time to first byte is ~2 seconds. Even though caching at all levels is turned on. Argh. Going to profile with laptop tomorrow. Hopefully will reproduce

Sorta got things working with XDebug and XAMPP, however the php7 included didn't have debug symbols. Argh. Also start XAMPP in admin mode to avoid Apache startup problems.

Anyways, enabling WP Super Cache helped a lot. I feel that additional help (if needed) will come from minifying / CDN / etc. See the “recommended Links and Plugins” on the WP Super Cache setting page on Wordpress.

Older stuff

HTML Standard: Free text input field with dropdown. Probably taxing for large lists, but good for short ones! http://stackoverflow.com/questions/15992085/html-select-drop-down-plugin-with-an-open-text-input-field