You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that the rendering of the banner is evaluated on the template tag. The problem is that in cached pages it can be rendered or not depending on the user who loaded the page when it was not in cache and other users will get the banner or not depending on that and not on the cookie set.
This could be solved rendering always the banner as hidden, and then showing it only if we can't detect the cookie with javascript.
The text was updated successfully, but these errors were encountered:
Hello,
Thanks for this little app!
I just noticed that the rendering of the banner is evaluated on the template tag. The problem is that in cached pages it can be rendered or not depending on the user who loaded the page when it was not in cache and other users will get the banner or not depending on that and not on the cookie set.
This could be solved rendering always the banner as hidden, and then showing it only if we can't detect the cookie with javascript.
The text was updated successfully, but these errors were encountered: