I have…
- [x ] Read the following guideline: https://docs.squidex.io/01-getting-started/installation/troubleshooting-and-support. I understand that my support request might get deleted if I do not follow the guideline.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [ ] Bug report
- [ ] Performance issue
- [ x] Documentation issue or request
Current behavior
I have an instance of the squidex CMS hosted with docker and some static content(HTML) to retrieve it. Within HTML there are also links to the assets, which are stored inside the CMS.
I want to use Squidex with an microservice architecture and created a cms-service, that is between the frontend and the CMS. The purpose of that cms-service is to handle authentication for the clients and only allows indirect communication from frontend to the CMS for higher security.
So everything works well with that approach, the frontend gets the content from CMS through cms-service and renders it.
Now the problem:
The links inside the HTML retrieved form CMS contains the links to the assets and the frontend directly fetches them from the CMS bypassing the cms-service.
Expected behavior
I want to fetch the asset content for the frontend only through the cms-service.
My idea was to store the assets at the cms-service and let the frontend fetches them from the cms-service, considering that there will come a huge amount of data together.
Is there any best practice how to handle it properly for that approach or anyone faced the same questions and got an solution for that?
Environment
App Name:
test-cms
- [ x] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version: [VERSION]
Browser:
- [ x] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ x] Firefox
- [ x] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others: