Hi all !<br><br>In the course of mogilifising some existing nfs-based apps, as well as adapting<br>new ones, I often end up asking myself deep and disturbing questions about<br>where to put content-type.<br><br>Let&#39;s say I have apps that output html like &lt;img src=&quot;
<a href="http://img.app.com/98765">img.app.com/98765</a>&quot;&gt;, <br>and the super-duper perlbal/reproxy setup: right now, the app is responsible<br>for storing and setting the content-type header, so each image access requires
<br>an app-side DB access.<br><br>If store_file was made to accept an extra parameter, an arbitrary string,<br>and that string was served back by get_paths, we could avoid the need<br>for this extra DB access (the app would still set content-type, but it&#39;d
<br>get its value from mogilefs instead of its own db).<br><br>It could also serve as a base for similar needs, such as simple security<br>checks or whatnot - think app/mogile-level cookie...<br><br>Does this make sense ? Or is there a very good reason why it&#39;d be evil
<br>to put any of that stuff in mogile ?<br><br>Stefan<br>