On Wed, Apr 29, 2009 at 10:58 AM, Lee Mighdoll <l...@underneath.ca> wrote:
> > I think the browsers cache urls with params... a quick glance at the rails >>> docs suggest they expect these requests to be cached, though I haven't >>> tested it mysolf. >>> >>> I'd imagine this also needs to work for non-/classpath served files. >>> Does that push us back to the params style? >>> >> >> No, because you can rewrite the incoming URLs back to what they should be. >> > > So if I understand you correctly, "/date_{date_format}" will become magic > anywhere in url request paths. so these work too: > classpath/js/date_2009_04_29_18_20/json.s or > /foo/bar/date_2009_04_29_18_20/json.s. > > That's ok with me, though it's a bit more aggressive to mess with the > segments of the mapping of the url path to file system path. > > Potentially could use dates on directories then too, although I'm not quite > sure why. e.g. foo/date_2009_04_29_18_20/bar/json.js would check the > modification date of the bar directory.. > or: /classpath/date_2009_04_29_18_20/classpath.js -> /classpath/classpath.js /dated_resource/date_2009_04_29_18_20/my_resource_dir/my_resource.js -> /my_resource_dir/my_resource.js > > > Lee > > > > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---