{"id":1203,"date":"2013-09-09T12:11:52","date_gmt":"2013-09-09T16:11:52","guid":{"rendered":"https:\/\/stagingps.paradisosolutions.com\/blog\/?p=1203"},"modified":"2026-04-08T01:55:33","modified_gmt":"2026-04-08T06:55:33","slug":"testing-quiz-caching-moodle","status":"publish","type":"post","link":"https:\/\/stagingps.paradisosolutions.com\/blog\/testing-quiz-caching-moodle\/","title":{"rendered":"Testing quiz caching in Moodle"},"content":{"rendered":"<p><span style=\"font-size: 12pt;\">This blog post will show you how to create a quiz using the Moodle system that will restore the users inputted answers in case communication with the server is interrupted by a faulty Internet connection. This is especially useful in the Distance Learning environment where Internet connections are oftentimes unreliable.<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lh4.googleusercontent.com\/fz2KptJLPDR_XppvrY3YCiMWzhebiwNnZwAswhYMNWUIFJJzboxRTd4-Y2oc2iHhSJUbaOt8aSbRjaIxoT242y4wwm6N29rt5uep0y8tCAQjOOBfHcZS8RlqFg\" alt=\"\" width=\"609px;\" height=\"362px;\" \/><\/p>\n<p><span style=\"font-size: 12pt;\">Timing parameters:<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lh3.googleusercontent.com\/kItrmXNKNMk1uMY73BbpoYg4NgxP_YWEdBL8Kmo3-joreGt680dfGdtqYkDu26ioQgetBRrPMtrwA35oFz5ZYl9ViW_Yy5Hh7z_6Q3uWwDYO31uvJEtLwyOXdA\" alt=\"\" width=\"615px;\" height=\"416px;\" \/><br \/>\n<span style=\"font-size: 12pt;\">Question asked when the user disconnected:<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lh6.googleusercontent.com\/jxOOgUOA4Q4a2SRn7fCdQbFrMAWtpUy0X-qHVHj1EBRl74xiUlLHeus1DxYiBygAZ2rzLjChyHlEW2bUVUjsDdjOfNrF7neM3cHvGSxjmjbvA7UO4Nr7x3u98w\" alt=\"\" width=\"611px;\" height=\"123px;\" \/><\/p>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">Quiz attempt in progress when the user returns:<\/span><\/p>\n<p>\u00a0<img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lh4.googleusercontent.com\/bRA16ueg-DuhEZpL8A5vLobBiy44rxoQZG3EIJT8LGJT86dtGmnsfzeOAL9K6eRCHz8n6vG2NS9TopvRq_1v7M-cU246o-NRhRKNS2WCK1yalTbduXo1xouZxg\" alt=\"\" width=\"420px;\" height=\"261px;\" \/><\/p>\n<p><span id=\"docs-internal-guid--587a222-0381-0934-db27-e353175d2f20\" style=\"color: #888888; font-size: 12pt;\"><span style=\"font-family: Arial; vertical-align: baseline; white-space: pre-wrap;\">Confirmation before submitting the quiz attempt:<\/span><\/span><\/p>\n<p dir=\"ltr\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lh4.googleusercontent.com\/ecqESJGwuQTtN8p7pBLfIOHxCFH0OxOp3QALvnyg-TN-P5Bn3RhSUK4VN3tXIj3m8NLAa5yyY9VRBryyPxXApt8-ualEQqnSBVf_lQQPxgwnn6vARjXlr_GCDA\" alt=\"\" width=\"224px;\" height=\"291px;\" \/><\/p>\n<p dir=\"ltr\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lh6.googleusercontent.com\/-sS_n4Ac2lxhWsSXgzPitixS2HhXHncLE6ks2iCR6-xUlVErtYRKgKJdOnc04zdF8oeeeZKGg0a6teNaTuLLYaZf398UBVYFDX10LvaTTMb3WY8nns3WUwyDIg\" alt=\"\" width=\"317px;\" height=\"124px;\" \/><\/p>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">Review your attempt:<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lh4.googleusercontent.com\/O_MA2cxabzJppTVtq-9KiVEeaXRNftuU3avaFeQ-QLhN9XV9kY5OSxVemXlaJDukZYH2xHXcGurQsObisJ4UAi-5ziyMqbpU8o7BH_yw4Ocsn-MV473MUICuCw\" alt=\"\" width=\"609px;\" height=\"226px;\" \/><\/p>\n<p dir=\"ltr\"><strong><span style=\"font-size: 12pt;\">Restore auto-saved content button<\/span><\/strong><\/p>\n<p dir=\"ltr\" style=\"text-align: justify;\"><span style=\"font-size: 12pt;\">We\u2019ve enabled a button to restore the content a user has entered into a text area after he\/she has lost the connection or communication is interrupted between his or her location and the moodle server. \u00a0The way it works is that when the user comes back after communication with the server has been interrupted the user can restore the previously entered text by clicking the \u201cRestore auto-saved content\u201d button.<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">This functionality saves the users\u00b4 every keystroke so no timer has to be set up.<\/span><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lh3.googleusercontent.com\/sdyD-L4oMzqhb4bEua1TPQmVXUiIn0pZ9P-brzAgFb7zhr6zkzw7m7p8zIcptucTW2SMglxNcZ49BSzbO1KHLHUQuiIyRHoe05Ol6WtXrALUT2NECFvNqfEXBQ\" alt=\"\" width=\"458px;\" height=\"89px;\" \/><\/p>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong><span style=\"font-size: 12pt;\">How to enable the button (Moodle 2.4):<\/span><\/strong><\/p>\n<ol>\n<li dir=\"ltr\">\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">Open file lib\/editor\/tinymce\/lib.php<\/span><\/p>\n<\/li>\n<li dir=\"ltr\">\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">Look up for $params variable around line 137.<\/span><\/p>\n<\/li>\n<li dir=\"ltr\">\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">In the \u2018plugins\u2019 item of the array add \u201c,autosave\u201d at the end and without quotes.<\/span><\/p>\n<\/li>\n<li dir=\"ltr\">\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">As moodle administrator go to: Site administration &gt;&gt; Plugins &gt;&gt; Text editors &gt;&gt; TinyMCE HTML editor &gt;&gt; General settings<\/span><\/p>\n<\/li>\n<li dir=\"ltr\">\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">In the Editor toolbar add \u201crestoredraft\u201d wherever you want the restore button to appear.<\/span><\/p>\n<\/li>\n<li dir=\"ltr\">\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">Save changes.<\/span><\/p>\n<\/li>\n<\/ol>\n<p><span style=\"font-size: 12pt;\">\u00a0<\/span><\/p>\n<p dir=\"ltr\"><span style=\"font-size: 12pt;\">If you don\u2019t see the button appear on a text area after this try clearing the browser&#8217;s cache.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">\u00a0<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">Confirmation before submitting the quiz caching Moodle attempt:<\/span><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>This blog post will show you how to create a quiz using the Moodle system that&#8230;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1230,"featured_media":8347,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[526],"class_list":["post-1203","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-moodle","tag-caching-moodle"],"contentshake_article_id":"","yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Testing quiz caching in Moodle<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Testing quiz caching in Moodle\" \/>\n<meta property=\"og:description\" content=\"This blog post will show you how to create a quiz using the Moodle system that...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/stagingps.paradisosolutions.com\/blog\/testing-quiz-caching-moodle\/\" \/>\n<meta property=\"og:site_name\" content=\"Paradiso eLearning Blog\" \/>\n<meta property=\"article:published_time\" content=\"2013-09-09T16:11:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-08T06:55:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-content\/uploads\/2013\/09\/Testing-quiz-caching-in-Moodle.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"844\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/#website\",\"url\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/\",\"name\":\"Paradiso eLearning Blog\",\"description\":\"The e-learning solution you need is that we can offer you.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/testing-quiz-caching-moodle\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-content\/uploads\/2013\/09\/Testing-quiz-caching-in-Moodle.jpg\",\"width\":844,\"height\":300},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/testing-quiz-caching-moodle\/#webpage\",\"url\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/testing-quiz-caching-moodle\/\",\"name\":\"Testing quiz caching in Moodle\",\"isPartOf\":{\"@id\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/testing-quiz-caching-moodle\/#primaryimage\"},\"datePublished\":\"2013-09-09T16:11:52+00:00\",\"dateModified\":\"2026-04-08T06:55:33+00:00\",\"author\":{\"@id\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/#\/schema\/person\/f7030da0a02b28f44b65cf82b30fee57\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/stagingps.paradisosolutions.com\/blog\/testing-quiz-caching-moodle\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/#\/schema\/person\/f7030da0a02b28f44b65cf82b30fee57\",\"name\":\"Daniel Parr\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/stagingps.paradisosolutions.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cb16fdf7dab103ceb01ee20fb73fff8e?s=96&d=mm&r=g\",\"caption\":\"Daniel Parr\"},\"description\":\"Daniel Parr is a passionate eLearning and technology writer, dedicated to guiding readers through the evolving landscape of LMS, Open-Source ERP, CRM, and other cutting-edge learning technologies. With an ability to break down complex concepts into engaging narratives, he crafts insightful blogs that empower businesses and professionals to stay ahead of industry trends.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/daniel-par-197584363\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/users\/1230"}],"replies":[{"embeddable":true,"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=1203"}],"version-history":[{"count":1,"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1203\/revisions"}],"predecessor-version":[{"id":22328,"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1203\/revisions\/22328"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/media\/8347"}],"wp:attachment":[{"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=1203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=1203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stagingps.paradisosolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=1203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}