Loading...
 

Review Performance for 2024

1.1. Context

Tiki is over 20 years old. Web technologies evolve and tradeoffs change. Ex.: Sending a lot of small files used to be bad because of connection overhead, but things are different with HTTP/2. Let's review Tiki26 with Tools to evaluation website performance, and proceed with relevant recommendations. The last time we did this was Tiki23 dogfood performance.

This will review not just the Tiki feature set, but also how it's configured in real life. We'll start on this once Tiki 26.0 has been released. We always want to be ready for the Tiki Performance Challenge.

1.2. Technology changes

1.3. URLs to test

1.4. Team

  • Boss (developer)
  • Adrien (developer)
  • Marc (advisor)
  • mose (advisor mostly for server aspects)
  • Gary (advisor mostly for HTML/CSS aspects)
  • Jonny (advisor mostly for HTML/JavaScript aspects)
  • Benoit (advisor)
  • Victor (advisor)

1.5. Process

  1. Update / review list of Tools to evaluation website performance
  2. Use the tools, research and experiment, to establish potential opportunities (Add below)
  3. Ask advice from experienced community members
  4. Implement solution

1.6. Todos

  • Set up next servers so we can easily (Marc, Horia, mose)
    • compare stable branch vs trunk/master
    • play with various configurations/preferences without disrupting production

1.7. Potential opportunities / Action items

1.7.1. Stop including external CSS from themes.tiki.org

Some tiki.org sites include this custom HTML

Copy to clipboard
<!-- Shared *.t.o sites CSS mainly for the "colored blobs" on sister-site links --> <link rel="stylesheet" href="https://themes.tiki.org/tiki-index_raw.php?page=Tiki_org_family_customizations_CSS&clean&textonly&download&css" type="text/css"> <link rel="stylesheet" href="https://themes.tiki.org/tiki-index_raw.php?page=Tiki_org_family_headers_fix_CSS&clean&textonly&download&css" type="text/css">


Data should be stored on each site, and cached. Look into a way to keep data in sync. Check with Victor who has a related Tiki Federation task for this.

1.7.2. CacheTTL

1.7.2.1. System files

This is for non-data files. Either tracked in Git, or generated on the fly.


A sensible default should be set for the WikiSuite installer (and offered to Virtualmin)

Virtualmin: Search for "Configure Apache Modules", then activate the "expires" module (Apache mod_expires).

2023-07-01: I activated for the server that hosts https://themes.tiki.org/

1.7.2.2. Data files

This is for files (including images) managed by Tiki File Gallery (could be in DB or file system) that are accessible to anonymous users

1.7.3. Brotli


A sensible default should be set for the WikiSuite installer (and offered to Virtualmin)

It is a bit like HTTP/2: https://github.com/virtualmin/Virtualmin-Config/commit/9c28adfe700e164bdd5c0e06fcbc2e311cea51cc

Idea: Add to Virtualmin by default. If browser/server doesn't support Brotli, it reverts to Gzip. So we can have some conditional instructions in https://gitlab.com/tikiwiki/tiki/-/blob/master/_htaccess

1.7.4. Add Last-modified and Etag to HTTP headers for wiki pages

https://caniuse.com/mdn-http_headers_etag
Configure https://gitlab.com/tikiwiki/tiki/-/merge_requests/2010

2023-07-01: I activated on https://themes.tiki.org/tiki-admin.php?page=performance

1.7.5. Set up CDN

Let's set up along the pattern of cdn.themes.tiki.org as per https://doc.tiki.org/Content-delivery-network

What is performance gain?

And then, modernize the documentation so any community member can do it.

Once it works, we can look into subscribing to a dedicated CDN service like CloudFront, CloudFlare, Fastly, BunnyCDN, etc.

https://avan.tech/item61485-Put-all-our-public-sites-on-CDN-and-perhaps-private-sites-as-well

1.7.6. zlib.output_compression

1.7.7. Boomerang code is not minified

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools