CDN links changing structure?
CDN links changing structure?
I noticed that recently, the CDN links changed to have the prefix of the plugin first for css, and "datatables " following it, but the source code has "datatables" first, then the prefix of the plugin second
so the Fixed column links for 3.0.4 CDN were:
css = //cdn.datatables.net/fixedcolumns/3.0.4/css/dataTables.fixedColumns.css
src=//cdn.datatables.net/fixedcolumns/3.0.4/js/dataTables.fixedColumns.min.js
Fixed column links for 3.2.1 CDN are(notice the flipped position in the CSS)
:
css = //cdn.datatables.net/fixedcolumns/3.2.1/css/fixedColumns.dataTables.min.css
src=//cdn.datatables.net/fixedcolumns/3.2.1/js/dataTables.fixedColumns.min.js
is this intentional or should i update production links with newer format order?
This question has an accepted answers - jump to answer
Answers
This is intentional - yes. The reason for it was to harmonise the file name structure as there were just too many exceptions to the rules before. This is important particularly as support for more styling libraries are added.
This blog post details the change and why and this tech note (13) formalises it.
The new files names are here to stay :-)
Allan