dirty-bits / uni-bites

Uni-Bites is a web-app that compares, contrasts and presents the cafe and deli services on the NUI Galway campus in a format aimed to save students money, while supporting friendly and ethical business practices. It is the result of a 2nd year project in CT216: Software Engineering, taught by Dr. Enda Barrett.
http://danu7.it.nuigalway.ie:8604
MIT License
0 stars 4 forks source link

Use local resources, fonts etc #65

Open aflaherty13 opened 6 years ago

aflaherty13 commented 6 years ago

Download from CDN and use locally at least for testing as they are a large part of the network pause when the tests are waiting for the page to load. This is exaggerated by the fact that the browser does not cache when running the tests as it uses a new user profile to start the tests in.

The existing templating system should cope with allowing us to render CDN results for a "PRODUCTION" env value by using the env value along with content sections.