0

Okay, before marking this question as duplicate I want you to know that I have already been to this question.

I am setting up a new project and I am using

  • jQuery
  • Bootstrap
  • masonry

Now, once my project development is complete I would like them to be loaded from a CDN however, while am in Development mode I would like to have some sort of fallback mechanism for each file, even for CSS, so that in case I am not connected to internet I would still be able to develop seamlessly. The mentioned question only talks about jQuery. Is there any fallback mechanism devised which takes care of all the included resources(js as well as css)?

Community
  • 1
  • 1
Shekhar Joshi
  • 958
  • 1
  • 13
  • 26
  • 1
    See http://stackoverflow.com/questions/17437199/provide-local-fallback-for-css-from-cdn for an example of a CSS fallback strategy. – Paul Roub Mar 25 '15 at 20:31
  • If (i) this is just for offline testing and (ii) you test in Chrome then you can use the workspace feature in Chrome developer tools. http://stackoverflow.com/q/24156474/87015 – Salman A Mar 25 '15 at 20:39

0 Answers0