Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - Logged in user cache #82

Open
PatrickD1985 opened this issue May 19, 2018 · 0 comments
Open

Feature request - Logged in user cache #82

PatrickD1985 opened this issue May 19, 2018 · 0 comments

Comments

@PatrickD1985
Copy link

Saw this was better monitored so here goes a feature request also placed here;


Hi Taylor,

First of, major props for this lightweight and very clear cache solution.
I am really liking it combined with Autoptimize I must say (I have been using WP Rocket for … well a long time but it became a hassle to get good speeds with it every now and again).

I was wondering what your thoughts might be on enabling / offering logged in user cache.
Just now I spotted the code in /simple-cache/inc/dropins/file-based-page-cache.php where you check if a user is logged in.

And while I get that, this does make the caching rather useless for sites with multiple user groups (as in normal users and more elevated ones)

Having an option to set for which user groups caching should be made available would be wonderful.
You could use a similar approach as Wp-Rocket;
/cache/simple-cache/www.domain.com
/cache/simple-cache/www.domain.com_[nice_username]
where you check if a user is logged in and give their respective cache.

Is that something you might consider implementing?

Kind regards,
Patrick Dankers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant