You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a certain problem - I would like to attach an external asset that cannot be stored locally (i.e. cached on disc) e.g. google maps API which checks internally if it is loaded from google site.
In other words I cannot make an asset like this:
'route_name => array('@google_maps_js',
),
I can of course add it normally using view helper in an phtml file - as if I was not using an asset manager at all but an idea come to me why not make an entry like that:
'route_name => array('http://google/api.js,
),
that is without a "@" mark in front to have an asset not stored locally but only used by a ViewHelperStrategy to inject into the page.
Other solution would be to have an option for a normal asset (with @) that forces an asset to always load externally?
The text was updated successfully, but these errors were encountered:
I have a certain problem - I would like to attach an external asset that cannot be stored locally (i.e. cached on disc) e.g. google maps API which checks internally if it is loaded from google site.
In other words I cannot make an asset like this:
I can of course add it normally using view helper in an phtml file - as if I was not using an asset manager at all but an idea come to me why not make an entry like that:
that is without a "@" mark in front to have an asset not stored locally but only used by a ViewHelperStrategy to inject into the page.
Other solution would be to have an option for a normal asset (with @) that forces an asset to always load externally?
The text was updated successfully, but these errors were encountered: