One question @smartgoat
Is it possible to always bypass Ghost member cookies in your script?
With your script, unlogged users, it does cache everityng. This causes that sometimes, it does not show the “login / registration” correctly in some parts of the site.