Speed up loading TinyMCE by turning on disk caching

Last updated on
30 April 2025

A common observation with the TinyMCE editor is that your site, under certain TinyMCE settings and conditions, can slow down quite dramatically. This is because TinyMCE will be pushed to your browser every time it is called. Apparently, TinyMCE will be pushed to the browser even if there is no text area that it could use, resulting in some speed problem with your site.

A very easy fix is the installation of the TinyMCE compressor AND the editing of one particular configuration switch inside tiny_mce_gzip.php:

Change

$diskCache = false; // If you enable this option gzip files will be cached on disk.

to this:

$diskCache = true; // If you enable this option gzip files will be cached on disk..

This makes TinyMCE be

  1. compressed and
  2. be held in your browser's local cache for a definable periode of time (which can be set in the same file)

Now you will only experience the transfer and loading of TinyMCE the first time until it resides in your browser's cache and from then it is instantly there when needed, no preloading of the editor any more, boosting the speed of page rendering in your browser tremendously!

Adapted from panatlantica's blog entry.

Help improve this page

Page status: Not set

You can: