2 Comments
  1. I ensure each static asset has a date timestamp of the last time it was modified. I set a rule that makes browsers cache the file for years for performance reasons. In order to ensure visitors download the latest version the query string needs to change so the browser downloads the updated version.

    Here’s code you can add to functions.php or as a custom plugin to do just that: https://gist.github.com/kingkool68/72a97581809f1dcf10dbda90739694a8

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer