It would be good to have an option to export / sync binary files to the filesystem or even a CDN.
Currently binary files must be piped through Gentics Mesh and the frontend application.
Clean filenames are not that important since most of the time those urls are not directly visible
Option A
Export files and images once a node is being requested. The files will be written to a dedicated location and the node request is finished once all files have been exported.
Option B
Use mesh-fs to mount a filesystem which serves all those files. A sync could upload those files to the CDN / frontend webservers.
TODO: How could image resize be handled here?
Option C
Use a sync tool which downloads all binary files from mesh to place them in the filesystem.
TODO: How could image resize be handled here?
Questions:
How can we handle resize image requests? Should we export files with names like blume.jpg?w=200&height=200
How should node operations be handled (e.g.: rename of node, moving of nodes, taking nodes offline)
All those operations would need to be synchronized to the filesystem.
It would be good to have an option to export / sync binary files to the filesystem or even a CDN. Currently binary files must be piped through Gentics Mesh and the frontend application.
Option A
Export files and images once a node is being requested. The files will be written to a dedicated location and the node request is finished once all files have been exported.
Option B
Use
mesh-fs
to mount a filesystem which serves all those files. A sync could upload those files to the CDN / frontend webservers.TODO: How could image resize be handled here?
Option C
Use a sync tool which downloads all binary files from mesh to place them in the filesystem.
TODO: How could image resize be handled here?
Questions:
blume.jpg?w=200&height=200