Caching

  1. Home
  2. Docs
  3. Caching
  4. Microcache

Microcache

This shortcode allows you to turn on microcaching and set the cache time for a site installed on your server.

To run Nodalio shortcodes on your server, please follow this guide.

Shortcode usage format:

  • sudo nodalio microcache domain.com minutes

Shortcode reference:

  • primary.com – your site’s primary domain/subdomain.
  • minutes – the number of minutes cache files can be stored before attempting to create new cached files.

Technical reference:

Microcaching uses FastCGI (PHP-FPM) to automatically generate and store your site cache. In most cases, its much faster than WordPress plugin based caching solutions, as your visitors will get the site contents directly from NGINX. This avoids server processing to generate dynamic content which allows your server to handle a much larger number of visitors.
Microcaching will store your site’s contents for a configured time in minutes (from 1 to infinity). Please note, microcaching is different to Nodalio’s OneCache and Opticache as it requires you to clear your cache or wait till the expiration time set is reached.

Nodalio’s WordPress plugin, if installed and activated, will automatically flush the server cache in cases of most content updates. If your specific content does not automatically trigger flushing the cache, you may flush the cache manually or adapt the plugin code to your specific use cases.

To find out which caching tool is currently active on your site, you may use the siteinfo shortcode.

Shortcode format in the Nodalio Dashboard:

Shortcode result in the Nodalio Dashboard:

Was this article helpful to you? Yes No

How can we help?