Is there any kind of caching I can use that won't affect PilotPress?


Google is telling me to use caching to speed up page load times, but I'm pretty sure most caching messes up PilotPress.

Is there any type of caching service or plugin I can use that is compatible with PilotPress?


edit retag flag offensive close merge delete


One other thought... I realized I really only need caching on the main landing/optin page in this case. Is there a form of caching that allows for only specific pages to be cached?

consciouswebpreneur gravatar imageconsciouswebpreneur ( 2016-05-17 17:19:08 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

You can disable caching on the PilotPress protected pages. Many cache programs allow for excluding some pages from the cache. For example, W3 Total Cache allows you to disable caching on individual files, or folders. Putting all your protected pages in a folder, such as /members/, makes it easy to exclude them all with a single instruction in the W3 Total Cache configuration. Many other cache programs do the same thing.

Without cache, PilotPress looks at the database request and determines if the user is eligible to see the page. If so, the page is rendered. If not, the page is redirected to the page you have configured in the "On Error" section when you edit the protected page. Cache circumvents getting the page fresh from the database, and will render the cached page for everyone. PilotPress may try to "catch up" by presenting the user with a log in box, but the page rendered from cache usually remains on the page behind the login box.

If you exclude the PilotPress protected pages from the cache all works normally, and Google bot is happy finding the cached pages everywhere on your site it can go.

edit flag offensive delete publish link more


Thank you Frank!!! This is exactly what I needed to know!

consciouswebpreneur gravatar imageconsciouswebpreneur ( 2016-05-18 10:09:41 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-05-17 17:16:45 -0700

Seen: 12 times

Last updated: May 18 '16