Title: Using cdn amd wp fastest cache
Last modified: September 11, 2026

---

# Using cdn amd wp fastest cache

 *  Resolved [derlehre](https://wordpress.org/support/users/derlehre/)
 * (@derlehre)
 * [3 weeks, 2 days ago](https://wordpress.org/support/topic/using-cdn-amd-wp-fastest-cache/)
 * Hello dear Masteriyo Support
 *  The theme that I’m using is the Elearning and Masteriyo lms and sell courses
   by woocomerce×Masteriyo integration.
 * I want to use a CDn and Wp Fastest Cache.plugin. Could you please tell me the
   page rule that I should do inside the CDN? And what things should I do inside
   the pluging WP fastest cache?
 * Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [sauravkhanal](https://wordpress.org/support/users/sauravkhanal/)
 * (@sauravkhanal)
 * [2 weeks, 6 days ago](https://wordpress.org/support/topic/using-cdn-amd-wp-fastest-cache/#post-19019097)
 * Hi [@derlehre](https://wordpress.org/support/users/derlehre/),
 * They work fine together. You only need to keep a few dynamic pages out of the
   cache; everything else (course archive, single courses, blog, home) can be cached
   normally.
 * WP Fastest Cache → Settings
    - Tick “Don’t show the cached version for logged-in users”. This is the important
      one students are logged in while taking a course.
    - Leave Minify JS and Combine JS off. Masteriyo already ships minified files.
 * WP Fastest Cache → Exclude
 * Under _Exclude Pages_, add three rules with Starts With:
 *     ```wp-block-code
       /account     (Masteriyo account / dashboard)
       /learn       (course player)
       /checkout    (Masteriyo checkout)
       ```
   
 * Confirm those paths in Masteriyo → Settings → General → Pages if you renamed 
   them. No rules are needed for the WooCommerce cart, checkout or my-account pages;
   WP Fastest Cache excludes those itself.
 * Under _Exclude Cookies_, add one rule: Contains → `woocommerce_items_in_cart`.
   WooCommerce ties a visitor’s security tokens to their cart session, so without
   this one shopper’s token can end up cached and served to everyone.
 * Also, keep the cache timeout at 10 hours or less; those tokens expire after about
   twelve.
 * **CDN**
 * If the CDN only serves static files (the _CDN_ tab in WP Fastest Cache), nothing
   more is needed.
 * If it also caches HTML (“Cache Everything” or similar), set those paths to Bypass
   Cache:
 *     ```wp-block-code
       /account*  /learn*  /checkout*  /cart*  /my-account*
       /wp-json/*  /wp-admin/*  /wp-login.php
       ```
   
 * Also bypass whenever the cookie `wordpress_logged_in_` is present, and don’t 
   enable “Ignore origin Cache-Control” on those paths. On Cloudflare, leave Rocket
   Loader off; it reorders scripts and often blanks the dashboard or player.
 *  Thread Starter [derlehre](https://wordpress.org/support/users/derlehre/)
 * (@derlehre)
 * [2 weeks, 6 days ago](https://wordpress.org/support/topic/using-cdn-amd-wp-fastest-cache/#post-19019124)
 * Wow thank you so much dear [@sauravkhanal](https://wordpress.org/support/users/sauravkhanal/).
   I really appreciate you.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fusing-cdn-amd-wp-fastest-cache%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/learning-management-system/assets/icon-256x256.gif?rev=3520181)
 * [Masteriyo LMS – LMS Course Builder, Quizzes & Certificates](https://wordpress.org/plugins/learning-management-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/learning-management-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/learning-management-system/)
 * [Active Topics](https://wordpress.org/support/plugin/learning-management-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/learning-management-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/learning-management-system/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [derlehre](https://wordpress.org/support/users/derlehre/)
 * Last activity: [2 weeks, 6 days ago](https://wordpress.org/support/topic/using-cdn-amd-wp-fastest-cache/#post-19019124)
 * Status: resolved