Current time: 12-16-2019, 07:39 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to 'combine css/js' files using a CDN
04-11-2011, 11:39 PM
Post: #1
How to 'combine css/js' files using a CDN
Hello,

I keep getting the message:

"Combine static CSS and JS files"

How should/can I do this when all my css and js files are on a remote CDN?
Find all posts by this user
Quote this message in a reply
04-11-2011, 11:43 PM
Post: #2
RE: How to 'combine css/js' files using a CDN
I assume the CDN is just serving whatever you bundled up as part of the site and either uploaded or have it configured to pull from your server, right? If you're talking about 3rd-party content then it's a different story.

For example, if you are serving mycode1.js and mycode2.js, you can create a new file - mycode1.2.js which is literally just a concatenation of the other 2 files and reference that one in your html instead of the 2 different files individually.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-11-2011, 11:51 PM
Post: #3
RE: How to 'combine css/js' files using a CDN
Thanks for the fast response jmeenan!

Ok, I'll give it a shot and see if it knocks out my final nit-picking issue.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)