# Help: How to cache video in nginx when dynamic link request

**URL:** <https://www.ruby-forum.com/t/help-how-to-cache-video-in-nginx-when-dynamic-link-request/237105>\
**Category:** NGINX\
**Created:** [October 25, 2013, 1:06pm UTC](https://www.ruby-forum.com/t/help-how-to-cache-video-in-nginx-when-dynamic-link-request/237105 "2013-10-25T13:06:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuanjianyong\_SGeorg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/bb73d2/32.png) [@Yuanjianyong\_SGeorg](https://www.ruby-forum.com/u/Yuanjianyong_SGeorg)\
**Post date:** [October 25, 2013, 1:06pm UTC](https://www.ruby-forum.com/t/help-how-to-cache-video-in-nginx-when-dynamic-link-request/237105/1 "2013-10-25T13:06:16Z")

</div>

Hi, everybody,

Please give me a hand.

In VOD system, Nginx is reverse proxy and Lighttpd is application server  
with video files. And getting video files is the type  
“play.jsp?videoid=123456”.

Now , I want to cache video files in Nginx server from dynamic link with  
“?”. How to define the Nginx configure?

Thanks & Regards

George yuan
