hello all
i'd like to know if it is possible to set up my static content (images, css, pdf's etc) to be on the separate domain, different from on which the silverstripe installation remains. say amazon cloud.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
hello all
i'd like to know if it is possible to set up my static content (images, css, pdf's etc) to be on the separate domain, different from on which the silverstripe installation remains. say amazon cloud.
CDN / multiple domain support isn't in core. Though with your CSS / JS files you could link to the absolute path in the cloud rather than on your site and that'll work fine. Getting assets to work on the other domain won't work unless you alter the File class.
thank you very mucn WIllr
Willr - is it possible to override the behaviour of the File class without editing core?
Or... is multi-domain support going to be introduced in version 3.0 ?
Thanks in advance.