Cache Plugin Performance with WordPress Quiz Plugin

There are some plugins that generate a cache, including the Admin Dashboard. While WordPress Quiz Plugin generally works with the Cache plugins without any problems, there are some cases you need to know about when using Cache Plugin along with the WordPress Quiz Plugin.

In this article, we will explore the common cases quiz users may encounter when using a cache plugin along with the WordPress Quiz plugin. Also, we will learn how to configure them effectively to ensure optimal performance without conflicts.

The common cases and the ways to fix them #

In this part of the article, we will introduce the common cases mentioned by the quiz users and the ways to solve them effectively.

Case #1 #

  • You enable the Randomization feature for the questions and answers and they are not randomized on the front-end.

Solution: Please clear all the caches. Make sure there is no cache on the page where the given quiz is located. Exclude the URL where the given quiz is located from the Cache plugin settings. After clearing caches, check the case again with different browsers or an Incognito Mode.

Case #2 #

  • You encounter the “jQuery is not defined” error in your Console.

Solution: You need to exclude the WordPress Core jQuery from the Cache Plugin Settings.

Case #3 #

  • The Cache plugin adds the “defer” attribute to our HTML.

Solution: Exclude the files of our plugin from the Cache Plugin Settings.

Case #4 #

  • You add questions to the quiz and they are not displayed in the quiz on the front end.

Solution: Make sure the Cache plugin you are using does not store a strong cache and that the webpage where the shortcode of the plugin is located does not become static(HTML).
Check whether the Deactivate PHP cache is ticked from the settings of the cache plugin or not.
If yes, then please deactivate it. Then, check the case again.

Case #5 #

  • You set a limitation for the quiz users to be able to pass the quiz only once, but the quiz is always open to quiz takers.

Solution: The solution is the same as for the Case #4. Make sure the Static HTML is not generated on your website and that the PHP Cache is deactivated. Clear all the caches and check the case again.

Case #6 #

  • You make changes in the quiz and the changes are not applied on the front end.

Solution: Make sure the cache is not generated on the page where the given quiz is located. Please exclude the URL where the given quiz is located from the Cache plugin settings. Clear all the caches and check the case again with different browsers or an Incognito Mode.

Case #7 #

  • The Cache plugin combines all the JS files of all plugins into one file.

Solution: The Cache plugin combines all the JS files of all plugins into one. Due to this, a problem can arise in our plugin if any of the other plugins (combined into one JS file) are not working.

To solve this, you can make a DB Backup for your safety (you can use UpdraftPlus).
Then, do troubleshooting by deactivating the plugins one by one, to find the conflicting plugin.
Here is a useful link to help you with troubleshooting:
https://ays-pro.com/blog/how-to-troubleshoot-your-wordpress-website

Case #8 #

  • The Cache plugin removes the <style> and <script> tags of our plugin.

The Cache plugins generally have special options, such as “Remove internal Style and Script tags” (please note, that the name of the option is for example, and may be inaccurate). You need to either deactivate this option or exclude the scripts of our plugin from that option.

Afterward, if you still experience any issues after checking these cases, contact our Support Specialists via our Contact Form. Our Customer Care Specialists are always ready to check your queries and help you accordingly as soon as possible.

Powered by BetterDocs

Leave a Reply

Your email address will not be published.

Don՛t Miss Out...

FoxLMS Plugin Now Available!

Easily create, manage, and sell courses on WordPress with the new FoxLMS plugin.

Get 30% Extra Discount

Get 30% OFF Now!

This will close in 0 seconds