[–] jstoiko 10y ago ↗ This is great. Thanks for sharing.1) I know that google caches those thumbnails and returns a thumbnail instantly when it does have a cached version, do you know what happens when it does not?2) have you come across any rate limit? [–] edent 10y ago ↗ Glad you enjoyed it.1) The PageSpeed service takes some time to run, so it always returned a new image in my tests.2) I haven't - but I wasn't stress testing it. It happily coped with a few dozen per hour.
[–] edent 10y ago ↗ Glad you enjoyed it.1) The PageSpeed service takes some time to run, so it always returned a new image in my tests.2) I haven't - but I wasn't stress testing it. It happily coped with a few dozen per hour.
[–] faulkner 10y ago ↗ I hope this isn't too off-topic, but the "weird" encoding is is just URL-safe base64 (see https://docs.python.org/2/library/base64.html#base64.urlsafe...). [–] edent 10y ago ↗ Can't believe I missed that! Thanks :-)
4 comments
[ 4.4 ms ] story [ 31.0 ms ] thread1) I know that google caches those thumbnails and returns a thumbnail instantly when it does have a cached version, do you know what happens when it does not?
2) have you come across any rate limit?
1) The PageSpeed service takes some time to run, so it always returned a new image in my tests.
2) I haven't - but I wasn't stress testing it. It happily coped with a few dozen per hour.