## advanced .desc file management

I am using php to dynamically load a pdf file by setting the header and then load the pdf file contents into the output. Everything works fine and is being indexed correctly by zoom.

My problem now is that I want to start using .desc files to improve meta info of the pdf's. So, how can I associate a .desc file in this scenario?

Example PDF URL: http://www.site.com/category/my-pdf-article/

Would the .desc for this pdf be located at: http://www.site.com/category/my-pdf-article/.desc ??

Or is my only option to use the 'offline folder for .desc files'? if so, then the .desc filename in the offline folder would be:
www.site.com%2Fcategory%2Fmy-pdf-article%2F.desc