I'm trying to avoid having to clear the browser cache when I change a javascript file.
One approach is to append a timestamp to the script src tag in the html file. <script id="json" src="/classpath/json.js" type="text/javascript"/> becomes: <script id="json" src="/classpath/json.js?*12341234*" type="text/javascript"/> I'm told rails uses this approach. Is there already a handy way to do this in lift? Or is there a better way? Happy to try and make a snippet for this if it's useful for others. Lee --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---