Does the D8 version work with Varnish?

Created on 7 April 2021, over 3 years ago
Updated 7 September 2023, over 1 year ago

Problem/Motivation

The D7 version of the module only works with Varnish when session_cache module is used enabled and configured. That module is not available for D8. What additional code, if any, is required to get smart_ip work on a D8/9 site with Varnish?

πŸ’¬ Support request
Status

Active

Version

4.0

Component

Documentation

Created by

πŸ‡¬πŸ‡§United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States pianomansam

    @darrenwh please read Smart IP page under the "Configuration / Cache Performance Note".

    Am I blind, or does that section no longer exist? I, too, would like to know how to get this running behind Varnish or nginx

  • πŸ‡¬πŸ‡§United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)

    EU Cookie Compliance checks location using JS, and that works with Varnish or db caching. As far as I can see the module will not work reliably with a cached request so an uncached Ajax request to check location makes sense.

  • Status changed to Postponed: needs info 24 days ago
  • heddn Nicaragua

    Drupal 8 & 9 are no longer supported. This version of the module this was opened against only supports these earlier versions of Drupal. If this is still something you want addressed in the current 5.x version of the module, please update and provide some next steps.

Production build 0.71.5 2024