NazarBiloys / web-server-cache

Cache images on server side (nginx) with ability to drop cache by endpoint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

web-server-cache

Cache images on server side (nginx) with ability to drop cache by endpoint

  • run docker-compose up -d
  • go twice to endpoint http://localhost:90/image/tyger.jpg
  • after this nginx save to cache image
  • if you want to remove some image from cache, run endpint http://localhost:90/purge/tyger.jpg

About

Cache images on server side (nginx) with ability to drop cache by endpoint


Languages

Language:Dockerfile 64.2%Language:Go 35.8%