Hi,
I am using this fingerprint feature for first time.
I did the following.
a) Added below to plugins.sbt
addSbtPlugin("com.typesafe.sbt" % "sbt-web" % "1.0.0-RC3")
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.4")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.8")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.1")
b) build.sbt
pipelineStages := Seq(rjs, digest)
c) routes
GET /assets/versioned/*file controllers.Assets.versioned(path="/public", file: Asset)
In my views, I am trying to access the assets from public/resume folder.
<a href='@routes.Assets.versioned("resume/"+file)'>@file</a>
and css file
<link rel="stylesheet" media="screen" href="@routes.Assets.versioned("stylesheets/main.css")" />
But, It is still showing
http://localhost:9000/assets/versioned/resume/file.txt
Still I don't see the url appended with extra digest.
Can somebody please help me here.
Thanks,
Jitendra