Nom | RPC | Durée totale (ms) |
---|---|---|
/2015/10/20/visite-deco-un-chateau-breton-tres-moderne/ | 1 | 6481 |
/images.GetUrlBase | 71 | 1564 |
/urlfetch.Fetch | 17 | 463 |
/blobstore.CreateEncodedGoogleStorageKey | 71 | 30 |
/memcache.Get | 13 | 13 |
Typically I'd like that if a client requests "just" an image at the url
www.decocrush.fr/wp-content/uploads/2014/10/my-image.png
he get the image from
cdn.decocrush.fr/uploads/2014/10/my-image.png
handlers are the one by default like :
handlers:
- url: /(.*\.(htm|html|css|js))$
static_files: wordpress/\1
upload: wordpress/.*\.(htm|html|css|js)$
application_readable: true
- url: /wp-content/(.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg|pdf))$
static_files: wordpress/wp-content/\1
upload: wordpress/wp-content/.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg)$
application_readable: true
- url: /(.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg))$
static_files: wordpress/\1
upload: wordpress/.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg)$
application_readable: true
- url: /wp-includes/images/media/(.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg))$
static_files: wordpress/wp-includes/images/media/\1
upload: wordpress/wp-includes/images/media/.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg)
application_readable: true
I'm not really understanding how handlers are working and if I can achieve this with them.
Thanks for your help