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"/> Is there already a handy way to do this in lift (I'm told rails uses this approach)? Or is there a better way? And if not, would this make a good snippet? 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 -~----------~----~----~----~------~----~------~--~---