Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link cache invalidation when Base URL changes #275

Open
samuel-clara opened this issue Dec 14, 2023 · 0 comments
Open

Link cache invalidation when Base URL changes #275

samuel-clara opened this issue Dec 14, 2023 · 0 comments

Comments

@samuel-clara
Copy link

If "element cache" is enabled it's not that easy to manage content changes across different environments.

For example, if someone modifies an entry locally, the cached URL of all "internal" Link fields of the entry will contain the Base URL of the local environment. This is obviously correct but makes it necessary to clear the cache and re-save the entry remotely.

In case of "entry" link type might it not be a good idea to check if BASE URL is different to the domain stored in the link table and in this case invalidate the cache?

Or are there practices to avoid this kind of problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant