<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-03-08 11:14 GMT-06:00 Richard Reina <span dir="ltr"><<a href="mailto:gatorreina@gmail.com" target="_blank">gatorreina@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2016-03-08 10:51 GMT-06:00 Dave Cross <span dir="ltr"><<a href="mailto:dave@dave.org.uk" target="_blank">dave@dave.org.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Quoting Richard Reina <<a href="mailto:gatorreina@gmail.com" target="_blank">gatorreina@gmail.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
2016-03-08 10:22 GMT-06:00 Dave Cross <<a href="mailto:dave@dave.org.uk" target="_blank">dave@dave.org.uk</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Quoting Richard Reina <<a href="mailto:gatorreina@gmail.com" target="_blank">gatorreina@gmail.com</a>>:<br>
<br>
I take it that I should inlcude the name of any directories such as<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
'images' (along with javascript & css ) in ./public that I want plack to<br>
serve directly correct?<br>
<br>
</blockquote>
<br>
Yes, that's right. Sorry, I'd removed 'images' from my example, because my<br>
app didn't use them.<br>
<br>
</blockquote>
<br></span><span>
Hi Dave,<br>
<br>
I tried it and the app works fine. Thanks. However, is there a way to test<br>
that is actually verify the files are bing served directly? It's not that I<br>
doubt it, just want to make sure as I will be serving some rather large<br>
files.<br>
</span></blockquote>
<br>
Simple approach - change the "root" directory in the plugin set-up to one that doesn't exist. Reload and see that your images disappear.<div><div><br>
<br>
Dave...<br>
<br></div></div></blockquote><div><br></div></span><div>Changed to: path => qr{^/(javascripts|css|images|profile_pics|user_vids)/} , root => './fontsXX/';<br><br></div><div>and refresshed a sort of makeshift dashboard page and all the non-text content dissapeared accept the embeded videos on that page which are in public/user_vids/ and are displayed with the following markup.<br><br><% IF Vids.size %><br><div class="vcenter"><br> <div class="row"><br> <div class="col-md-offset-1 col-md-10"><br> <div class="wraptocenter"><br> <h5><b>My Videos:</b></h5><br> <% FOREACH v IN Vids %><br> <!--<p>Video: <% v %></p><br> <p><% v.substr(8, 1) %></p> --> <br> <% IF v.substr(8, 1) == 'L' %> <br> <video controls preload="auto" width="568" height="320"><br> <% ELSE %><br> <video controls preload="auto" width="320" height="568"><br> <% END %><br> <!-- <video controls="true" preload="auto"> --><br> <source src='user_vids/<% v %>.mp4' type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /><br> <source src='user_vids/<% v %>.ogv' type='video/ogg; codecs="theora, vorbis"' /><br> <!-- <source src='user_vids/<% v %>.webm' type='video/webm;codecs="vp8, vorbis"' /> --><br> </video><br> <% END %><br> </div><br> </div><br> </div><br></div><br><% END %><br><br></div><div>Any idea why they persist?<br><br><br></div></div></div></div>
</blockquote></div>After playing around with this I have come ot believe that the videos must have been cached. Further testing shows just he video outline and controls.<br></div></div>