-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote assets beginning with // fail to load #43
Comments
Protocol-relative URLs make sense for CSS files which are requested by the browser, as they avoid "This page contains both secure and non-secure items" warnings. However I can't see any advantage at all for remote assets which are requested by the server, then cached locally on the server before being delivered to the client. When making this request, the server shouldn't care at all whether the client requested the page over http or https - it has absolutely no bearing on whether the server should then request the asset from its remote location over http or https. Actually, did you read (and understand!) the "Remote files" section in the README? It states that for a remote file to be linked to directly in the client - rather than being fetched from its source by the server - combining must be disabled. Is this what caught you out? |
Well I was adding the files in a controller on the fly so I couldn't work
)); But the problem was encountered because in development mode we don't have Would I need to add and enable a whole group with a specific path to do On 24 June 2013 18:28, Antony Male [email protected] wrote:
|
When loading remote assets using just
//
instead ofhttp(s)://
causes the following issueAdding the following code to
load_file()
resolves the problem.The text was updated successfully, but these errors were encountered: