Details
Description
Sometimes the dependency relationship between resources is not that strict, that is when there is no need to load all the transitive resources before. It is good enough to just load the resource after the resources defined in the metadata, if some are not loaded the dependant resource's code will adapt.
For example:
E depends on B
C depends on B
B depends on A
D depends (load only) on E, C
When only A and B is loaded, D is just ordered after these without forcing the loading of E and C.
For example:
E depends on B
C depends on B
B depends on A
D depends (load only) on E, C
When only A and B is loaded, D is just ordered after these without forcing the loading of E and C.
"load-after" tag was introduced in the resource-dependency.xml structure that can be used to define dependencies that require only ordering.
Example: