Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

How to serve cached pages only to those that have logged in through eMember

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › How to serve cached pages only to those that have logged in through eMember

  • This topic has 3 replies, 2 voices, and was last updated 13 years, 3 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 4, 2012 at 11:51 pm #5479
    lockandrolltennis
    Member

    I have some pages with videos that I want cached because the pages can take around 7 seconds to load. The problem is if a non-user finds out the url they also get the cached page. Vice-versa if a non-user hit the url and got redirected to the login page, now if a logged in member went to that page they would get the login page instead of the videos.

    I only want to serve cached pages to logged in users. The pages I want cached have nothing user specific on them.

    I’ve tried wp-cache, super cache, db cache, and quick cache. Quick cache seems to have a lot of options but not “serve cached pages only to logged in users”

    How do I accomplish this with eMember.

    February 5, 2012 at 4:37 am #41627
    admin
    Keymaster

    Our choice of caching plugins are W3 Total Cache or WP Super Cache:

    Using the plugins with W3 Total Cache – https://support.tipsandtricks-hq.com/forums/topic/using-the-plugins-with-w3-total-cache-plugin

    Using the plugins with WP Super Cache – https://support.tipsandtricks-hq.com/forums/topic/using-the-plugins-together-with-wp-super-cache-plugin

    You can’t serve cached page to logged in users. If the pages on your site is taking too long to load it indicates another problem that you should investigate and try to fix them in the root. The most common causes for your pages to load too long are usually the following:

    – Your server is too slow

    – Your account is on on an over populated shared hosting account

    – Your hosting provider might be limiting the CPU usage

    – You have low RAM memory allocated for your PHP scripts

    Yes, a caching plugin improves the performance but even without it your pages should load within 2 to 4 seconds unless you are getting very high amount of traffic every day.

    February 8, 2012 at 4:17 am #41628
    lockandrolltennis
    Member

    Yes, I can serve cached pages to logged in users if the pages have nothing member specific. I just don’t want them also served to non-members. Is there no hook or something into the order of serving pages?

    February 9, 2012 at 1:36 am #41629
    admin
    Keymaster

    You simply integrate eMember with WordPress users then check the option to serve cached pages to logged in users (if the caching plugin has the option to do so).

    This page will explain how you can integration WordPress users with eMember:

    http://www.tipsandtricks-hq.com/wordpress-membership/using-emember-with-another-plugin-that-uses-the-wordpress-user-roles-350

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ