1. Home
  2. Plugins
  3. How to Use Cache Plugins

How to Use Cache Plugins

Here are the suggested settings to use the cache plugins.

Related: How to Speed Up the Beat Store Loading Time

1. Common Cache Plugin Problems

  • The checkout page appears empty.
  • Beat download links do not work.
  • Website changes do not appear live.
  • WordPress Customizer changes are not immediately visible.
  • Shopping cart widgets do not update correctly.

2. How to Make Website Changes Live

If you have a cache plugin activated, anytime you make a change to your website, you must clear the plugin cache to make your changes live to the public.

If you don’t, visitors will not see the changes you have made.

If you are logged into WordPress, pages do NOT get cached, so you may see changes, but website visitors may not see the changes.


3. How to Use Cache Plugins with the Music Maker Theme

  1. Do Not Cache Beat Pages – In the tutorials below, we will set settings to not cache any of the beat store-related pages. This will help to make sure the important beat buying pages work properly.
  2. Deactivate WP Menu Cart – You can not use the WP Menu Cart plugin with cache plugins. When using a cache plugin, the cart number will not update in the menu.

4. Cache Plugin Tutorials

How to Use WP Super Cache

Here are the steps to follow to use WP Super Cache.

How to Install WP Super Cache

  1. In WordPress, click Add New under Plugins.
  2. Search for WP Super Cache and click enter.
  3. Click Install Now button, then click Activate.

Set WP Super Cache Settings

  1. In WordPress click WP Super Cache under Settings on the sidebar.
  2. Click the Advanced tab.
  3. Check the following:
    1. Don’t cache pages for known users. (Recommended)
      • This is primarily for logged-in users.
    2. Don’t cache pages with GET parameters. (?x=y at the end of a url)
      • This will ensure that the checkout page and cart widgets work as expected.
    3. Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated. (Recommended)
  4. Click the Update Settings button.

Image Preview

Accepted Filenames & Rejected URIs

If your beat store is on your homepage check the following:

  1. Front Page (is_front_page)
  2. Home (is_home)
  3. Click Save Settings.

Image Preview

In the Add here strings input add the following:

  • Important: If you named your checkout page something different, or if your URL is something different from checkout, change it to the correct name.
  • Add URLs to pages that use Easy Digital Downloads.
    • So if your beat store is not on your homepage, enter the URL for the page.
    • If you are using a beat sort template, or sort pages, add those URLs.
    • If you a services page with the EDD buttons, add the URL.
/downloads
/downloads/
/checkout
/checkout/
/purchase-confirmation
/purchase-confirmation/
/product
/product/

Then click Save Strings.

Image Preview

Next scroll up and check Enable Caching, and click the Update Status button.

Cache is now enabled.

Remember to clear the cache plugin after changes are made to make website settings live.

How to Use W3 Total Cache

Here are the steps to follow to use W3 Total Cache.

How to Install W3 Total Cache

  1. In WordPress, click Add New under Plugins.
  2. Search for W3 Total Cache and click enter.
  3. Click Install Now button, then click Activate.

Set W3 Total Cache Settings

1. In WordPress click General Settings under Performance on the sidebar.

2. Page Cache:

  • Check Enable
  • Page Cache Method: Disk: Enhanced

3. Minify: Disabled – Leave unchecked.

4. Database cache: Disabled – Leave unchecked.

5. Object cache: Disabled – Leave unchecked.

6. Browser Cache:

  • Check Enable


7. Click the Save all settings button.

8.Click Page Cache on the under Performance on the sidebar.

9. If your beat store is on your homepage check Don’t cache front page under General.

10. Scroll down the page to the Advanced box.

Add the following to Never cache the following pages:

  • Important: If you named your checkout page something different, or if your URL is something different from checkout, change it to the correct name.
  • Add URLs to pages that use Easy Digital Downloads.
    • So if your beat store is not on your homepage, enter the URL for the page.
    • If you are using a beat sort page, or sort pages, add those URLs.
    • If you a services page with the EDD buttons, add the URL.
/downloads
/downloads/
/checkout
/checkout/
/purchase-confirmation
/purchase-confirmation/
/product
/product/

Image Preview

11. Click the Save Settings & Purge Caches button.

Cache is now enabled.

Remember to clear the cache plugin after changes are made to make website changes live.

Other Cache Plugins

If you decide to use other cache plugins here is the basics.

  • Do not cache your homepage if your beat store is on your homepage.
  • Do not cache the URLs below:
/downloads
/downloads/
/checkout
/checkout/
/purchase-confirmation
/purchase-confirmation/
/product
/product/


5. Add a Cart Icon to Your Navigation Menu

Here are the steps to follow to add a cart icon to the menu since you can not use the WP Menu Cart plugin.

Preview

1. In WordPress, click Menus under Appearance on the sidebar.

2. Click the Pages box.

  • Click the View All tab.
  • Select the beat store Checkout page.
  • Click the Add to Menu button.

3. Click the Checkout box you just added on the right.

  • In the Navigation Label input, paste the code below:

    <i class=”fa fa-shopping-cart” aria-hidden=”true”></i> Shopping Cart

You can change the Shopping Cart text if you like.

4. Click Save Menu.

5. Click Customize under Appearance on the sidebar.

6. Click Custom CSS on the bottom left.

7. Copy and paste this CSS Code.

/* Menu Cart Spacing */
#menu-main-navigation-menu li .fa-shopping-cart { margin-right: 8px; }

8. Click the Publish button.

Done.

  • Test out the new link on your website to make sure it links to the beat shopping cart.
  • You may have to clear the plugin cache to make sure the website is refreshed for the public.

Why does my beat store stop working when I activate a cache plugin?

Cache plugins save static versions of your pages to improve loading speed. The beat store has dynamic elements (like the shopping cart and checkout) that need to be updated in real time. If these pages are cached, the dynamic functionality can break, leading to issues like an empty cart or broken download links.

I made changes to a beat’s price, but I still see the old price on my website. What’s wrong?

This is a common issue with cache plugins. The plugin is likely serving a cached version of the page with the old price. To fix this, you need to clear your cache plugin after making any changes to your beat store.

Can I use any cache plugin with the Music Maker theme?

While the principles of excluding beat store pages apply generally, some cache plugins might have more aggressive caching settings or conflict with the theme’s specific functionalities. The Music Maker theme documentation specifically guides WP Super Cache and W3 Total Cache. It’s recommended to start with one of these.

I followed the instructions to exclude the beat store pages, but I’m still having issues. What should I do?

Double-check that you have correctly identified and excluded all relevant URLs for your beat store, checkout, purchase confirmation, and individual beat pages. Ensure you clear the cache after making any configuration changes. If the problem persists, try temporarily deactivating all other plugins except Easy Digital Downloads (which powers the beat store) to see if there’s a conflict with another plugin. If the issue is resolved, reactivate your plugins one by one to identify the problem plugin.

Is it possible to have a fast website with the Music Maker theme if I can’t heavily rely on caching?

Yes. While aggressive caching of dynamic pages can cause issues, you can still optimize your website’s speed in other ways. This includes optimizing your images, using a good web hosting provider, minifying CSS and JavaScript (some cache plugins offer this without causing major conflicts if configured carefully), and using a Content Delivery Network (CDN). Focusing on these areas can significantly improve your website’s performance even with more limited caching of dynamic beat store pages.

Updated on March 9, 2025

Was this article helpful?

Related Articles


Need Help?

1. Try searching for answers. Try searching different terms if you can't find a answer. 2. Try troubleshooting if something is not working.

3. If you can't find answers, click to leave a comment. Provide website links and detailed information.