yayasoft / yaya-website

yayasoft.co.il, yayasoft.com, yayasoft.ru
0 stars 0 forks source link

Pages not updated after a deploy #1

Open suhrab opened 9 years ago

suhrab commented 9 years ago

Use templateCache for angular templates. Start using Grunt in yaya-website Create a grunt task, using a contributed task html2js https://github.com/karlgoldstein/grunt-html2js to create a single js file which contains all templates(populate $templateCache)

Include this file into Bundling This will prevent caching templates in client browsers

AlexSin15 commented 9 years ago

Changeset 264

suhrab commented 9 years ago

Resolved and Tested. Now there is a file templateCache.js+templateCache.min.js that are created by Grunt task "html2js"+"uglify"

templateCache.js is included into Bundling process