Closed lamalamaMark closed 3 years ago
You can easily accomplish this by extending the Cache
class, and overwriting the getDirectoryAndFileNames
method to prepend the domain name.
You will also have to properly configure your nginx script to account for that.
You can also do it setting a different path depending on locale at boot on AppServiceProvider
Look here https://github.com/JosephSilber/page-cache/issues/74#issuecomment-883701867
Our application is served via 4 different domains with different locales. For as far as we can see it's not possible to handle this situation. Nonetheless I wanted to check if you have handled this situation before? If not we will make a fork / PR for this feature :)