arash16 / nuxt-ssr-cache

Cache middleware for nuxt's SSR rendering.
MIT License
295 stars 64 forks source link

Cache only working per path and not considering host domain #4

Closed Raskelof closed 5 years ago

Raskelof commented 5 years ago

Great work with this module! I have one problem though as it's only caching on path and not including host when it's adding and checking for cache.

On our localized site (localized with i18n) the result is that we get the same page (same localized content) on all domains (.se, .uk, .no) when the path i the same (e.g. the start page).

Anyway to solve this?