Not working with Akamai caching

Created on 23 January 2020, about 5 years ago
Updated 10 March 2025, 26 days ago

So it looks like the development for this module is dead, but I am reliant on it for my current project. This does exactly what I need and works perfectly until we put it behind our Akamai account which is handling the caching. I know there is a checkbox in the admin for:

Re-send cookie on every page load
This will re-send a cookie on every page load, even if a cookie has already been set. This may be useful if you use a page cache such as Varnish and you plan to cache the language cookie. This prevents a user who already has a cookie visiting an uncached page and the cached version not setting a cookie.

but even with that on, I am getting the cached languages instead of the language the user has a cookie set for. I also have this in my settings.php:

$conf['page_cache_invoke_hooks'] = TRUE;

but that doesn't seem to do anything either. I also uninstalled the "Internal Page Cache" module in Drupal.

the site works perfectly locally and on the dev server that is not using Akamai.

I'm crazy desperate now as we are set to go live next week and the introduction of Akamai was sprung on me now, so it was never tested against. Can anyone think of something I am missing to get this to work right with external caching?

THANKS

💬 Support request
Status

Closed: duplicate

Component

Miscellaneous

Created by

🇺🇸United States socalerich

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.

Production build 0.71.5 2024