Creating dynamic images with WSGI, no files involved

后端 未结 4 1829

I would like to send dynamically created images to my users, such as charts, graphs etc. These images are \"throw-away\" images, they will be only sent to one user and then dest

4条回答
  •  花落未央
    2021-01-21 06:30

    You should consider using and paying attention to ETag headers. It's a CGI script, not WSGI, but the ideas are translatable: sparklines source -- it happens to always return the same image for the same parameters, so it practices extreme caching.

提交回复
热议问题