Main CSS and Javascript files not loading.

Jon Tibbetts asked on November 27, 2018 20:29

When I set the debug mode to true, all our CSS is loading properly, but when I deploy to our production environment, debug mode is set to false. And its loading old CSS. How can I rebuild the CSS so our production site loads the proper CSS.

Recent Answers


Jon Tibbetts answered on November 27, 2018 20:56

Looks like the issue is with my templates calling individual css and js files. If I put some cache busting on the links, the css and javascript seem to load fine. Appending say "?v=1" to the link loads my cache/javascript fine with debug mode set to false.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.