Skip to content

M van de K

Van alles wat

  • Home
  • Over
  • Domeinnamen

Tag Archives: WordPress Transients

Remove expired WordPress Transients with WP-CLI

WP-CLI can be used to perform all kinds of tasks on your WordPress website. I use it to regularly clean my database of expired transients via a Linux cronjob. By using WP-CLI, I can perform this task safely and automatically! Note: this can only be done when you have shell-access to the webserver you are […]

Posted byMvandeK19/11/2017Posted inWP-CLITags: cronjob, crontab, Linux, WordPress Transients

WordPress Archive Page with Transients

I recently discovered transients, a caching method that you can use to save queries in the database or object cache (if used). It can save a lot of time to gather the information for a page to load and it can descrease the amount of load on your database / PHP. I use two files […]

Posted byMvandeK13/03/2013Posted inWordPressTags: WordPress Archive, WordPress Custom Archive Page, WordPress Transients
M van de K, Proudly powered by WordPress.