Administration

Caching pages with a login form

by Marcin Kaciuba Sep 9, 2018

Usually, when websites are made that are to be available to a specific group of recipients (with a login and password), the proxing server does not allow it to be cached. Caching such a page could lead to users who should not have access to the content.

In this post I will show that it is possible to prepare such a proxy server configuration, to cache the page per user (fortunately in this case we have only 2 groups: logged in, not logged in. With more group this approach would not make sense.)

NGINX was used as a proximal server.

Share:

Read More