9
I wonder if it is possible to perform a callback if a CDN is offline the system uses local files.
Ex: I use the Fontawesome CDN but if the user runs out of the internet or the CDN goes offline, it is possible to create a callback for the system to use local files.
obs. The system should give preference to the use of CDN if it is online and the user has internet.
By "local file" you mean "browser cache"?
– Vinícius Gobbo A. de Oliveira
No, for example, I have the CDN call and also the local file call <link src="fontawesome.min.css"> if the CDN fails the local file is called.
– Felipe Dumont