More clarifications on caching of images

Malte Sussdorff malte.sussdorff at cognovis.de
Mon Aug 27 16:12:42 MSD 2007


Following up on my previous post I tried to use the proxy_store  
directive and it worked.

I just had to make sure that I translate on my server "/portraits? 
user_id=32476" into "/image/32477" where 32477 is the image_id of the  
user 32476.

Why did I not just use the user_id? Well, the image could change  
(e.g. user uploads a new picture) and then we would not pick this up.

Cheers
  Malte

-- 
cognovís GmbH & Co. KG
Eduardstrasse 46-48
20257 Hamburg

Phone: +49 (40) 553 70 83
Fax: +49 (40) 5537084
Internet: http://www.cognovis.de
Skype: sussdorff

Geschäftsführer Malte Sussdorff
Amtsgericht Hamburg, HRA 101328


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070827/a2571466/attachment.html>


More information about the nginx mailing list