Hi All,
I have configured Nginx as a reverse proxy server. I want to save two cached copy for each URL in nginx, one for mobile and other one for desktop.
suppose url is : http://www.abc.com/a.html
We are using adaptive theme so this url is same for mobile and desktop. if request is coming from mobile (any device), nginx key should be :
mobile:http://www.abc.com/a.html
For desktop key should be :
desktop:http://www.abc.com/a.html
I have use lua + nginx but no success so far.
Can anyone please help me out here and suggest ways how we can do this. Any kind of help/ suggestion is highly appreciated.
Thanks, Naren.