Right. I’ll try “Vary header” way to treat a cache.
Thank you a lot.
@geekysoft
Yes, the password form page is public.
However, if this page is cached, it becomes to return password form in spite of valid password because of redirection to same URL.
Thank you for reading.
@geekysoft
Thank you for repling me about this issue.
I tried a patch(revision 1663525), it’s OK after password form passed.
However, it’s contained !post_password_required() in if condition,
therefore it returns Cache-control header in password form page.
Could you remove !post_password_required() in cache_control_nocacheables?
Thank you for reading.