Suppose I want to avoid caching of my js files. I did something like that:<br><br>script ! type_ "text/javascript" $ getScripts [my,editJS]<br><br>Where<br><br>my = "document.write('<script type=\"text/javascript\" src=\"/js/my.js?' + new Date().getTime() + '\" ><\\/script>');"<br>
booksJS = "document.write('<script type=\"text/javascript\" src=\"/js/books.js?' + new Date().getTime() + '\" ><\\/script>');"<br><br>getScripts scripts =preEscapedString $ foldl1 (++) scripts <br>
<br>Although I load the scripts, it seems I'm not avoid anything at all. What is the better (or right way) to do that (with Happstack and blaze-html)?<br>