Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

CDN - CSS/JS Page Location


Reply


1495 Views

Avatar
Augury

Community Member, 1 Post

29 September 2009 at 6:04am

The CSS/JS pages are being included with a full url (not a relative path). The issue is that the CDN reads the content from a different url. Thus when pages are cached in the CDN the CSS location is off the cdn. How can I specify the base_url for the css documents?

I am including css and js pages using the old method:
Requirements::themedCSS('homepage');
Requirements::javascript('homepage');

A.