- Issue created by @pdureau
- Issue was unassigned.
- 🇫🇷France G4MBINI Bègles
For information, DSFR 1.9 has been released. May be we want to update this issue ... ?
- 🇷🇪Réunion Martygraphie Saint-Denis (Réunion)
Hi @pdureau
I have a question/comment about switching to an external CDN.
This approach simplifies the management of DSFR library upgrades.
On the other hand, each site must request a third party server to display the components, which increases the loading time of each page whereas the library could be integrated directly on the server (there is a waiting time for the server to respond). Moreover, some hosting companies mandated by the public services, are not in favor of including third party libraries hosted externally.So I was wondering if another approach would be possible? For example install npm on the UI Suite DSFR project.
Then create a NPM command that populates the dist folder based on the "dsfr" folder in node_modules? This command could be played manually?
This would simplify the updates while keeping the libraries on the project server?
Thanks in advance for your feedback.
Have a nice day
- First commit to issue fork.
- 🇫🇷France pdureau Paris
Hi @Martygraphie,
each site must request a third party server to display the components, which increases the loading time of each page whereas the library could be integrated directly on the server
Indeed.
So I was wondering if another approach would be possible? For example install npm on the UI Suite DSFR project.
Why not something like that instead? https://asset-packagist.org/
- @benjy44 opened merge request.
- Status changed to Needs review
over 1 year ago 2:50pm 31 May 2023 - 🇫🇷France BeNjY44
Hi @pdureau,
Thank you for the theme and the ui_suite initiative.
I created a merge request with a suggestion to get DSFR lib as a drupal-library composer dependency.
Thanks in advance for your feedback.
- Assigned to pdureau
- Status changed to RTBC
over 1 year ago 2:31pm 15 June 2023 - 🇫🇷France pdureau Paris
Thanks BeNjY44.
I have rebased your branch from 1.0.x and I am ready to merge.
- Status changed to Fixed
over 1 year ago 4:02pm 15 June 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
about 1 year ago 10:13am 17 October 2023