Kindly update to new version 2.4. I have introduced two filters “serve_static_enable_logged_in” and “serve_static_logged_in_role” to enable cache for logged-in users.
Use “serve_static_enable_logged_in” filter to enable cache save as a logged-in user. By default as an Administrator.
Example:
add_filter( 'serve_static_enable_logged_in', function( $value ) {
return true;
} );
Use “serve_static_logged_in_role” filter to change the type of user used to generate the cache as logged-in. This filter won’t work if you don’t have the used the “serve_static_enable_logged_in” filter already. By default, it’s value is Administrator.
Example to change the cache generation as a logged-in Subscriber user:
add_filter( 'serve_static_logged_in_role', function( $value ) {
return 'Subscriber';
} );
Check this link to find the Text’s you can use. Not applicable if you have custom User role: https://www.ads-software.com/documentation/article/roles-and-capabilities/#summary-of-roles
Just a headsup, this will only work when you are manually generating the cache from the Cache Generator.