Skip to content
Edgar Latorre edited this page Apr 4, 2016 · 2 revisions

Basic info

The cachebag has 3 sizes (small, medium and original)

The cachebag use two parameters (resource_id and size)

Url to access

http://demo.learningdata.net:3000/images/:resource_id/:size

e.g:

[http://demo.learningdata.net:3000/images/52d938c552f688740626b6c4/small] (http://demo.learningdata.net:3000/images/52d938c552f688740626b6c4/small)

To create a new size

To create a new size we need to create a folder for that format and to add the path on config/images.js

Server

  • Url

https://cachebag.learningdata.net

  • SSH

    ssh azureuser@cachebag.learningdata.net -p 3535 -i <path to azure key>

  • Deploy

    cap staging deploy

Clone this wiki locally