The scaladocs of WithResourceId snippet looks like this:
/** * Adds a resource id entity for each URI in order to control browser caching. * The rules of creating "unique" URI's are defined in LiftRules.attachResourceId function. * * <pre> * <lift:with-resource-id> * <link ... /> * <script ... /> * </lift:with-resource-id> * </pre> */ By default LiftRules.attachResourceId attaches a random query string to the URI-s (This is a quantity unique per application lifetime on a single JVM). You can of course register your own function and define your own behavior of how the resources (script and link) are modeled to control caching. On Mar 8, 7:55 pm, Channing Walton <channingwal...@mac.com> wrote: > I am interested in this too but I don't understand the > <lift:with-resource-id> thing, where can I find out more? > > > > > > AnthonyW wrote: > > > Ugh, I must have had a cache issue despite the fact that I certainly > > did hit refresh before... > > I am now seeing 1.4.2 JQuery. > > > Regarding <lift:with-resource-id>, I just added that too. This is > > definitely a nice feature because caching has been an issue for me. > > > Thanks Marius! > > > -- > > You received this message because you are subscribed to the Google Groups > > "Lift" group. > > To post to this group, send email to lift...@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. > > -- > View this message in > context:http://old.nabble.com/2.0-M3---JQuery-1.4-tp27802013p27825013.html > Sent from the liftweb mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@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.