Bitcoin Forum
November 20, 2017, 09:29:40 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 [5] 6 7 »  All
  Print  
Author Topic: Images now proxied  (Read 9024 times)
Richy_T
Legendary
*
Offline Offline

Activity: 1316


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 19, 2013, 01:39:08 AM
 #81

btcticker.appspot.com / https://github.com/vrotaru/btcticker desperately needs to be whitelisted, and any other price converters without viewer IP tracking. So fucking off, I have to choose between deleting them or hoping nobody holds me to the old cached versions in my topics.

A fix for this can be to make a list of domains that need to avoid cache.

Then, concatenate the date, the hour and the actual minute to the url, this has to change dynamically with php.

That way every minute the request will be diferent forcing the proxy to reload the image.

For example this image:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png

Will turn into:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png?anticache=201312182259

Now, with the proxy:
https://images.weserv.nl/?url=btcticker.appspot.com/mtgox/1.00btc2eur.png%3Fanticache=201312182254&fnr

Note: use %3F to encode ? and %26 to encode &.


The format is YEAR MONTH DAY HOUR MINUTE

This way we have a 60 seconds cache + https in images + not leaking ips to whitelist domains

This method will only be used by domains that need to avoid the cache.

That means you need to update the link every time you need it to update which somewhat defeats the purpose.

Has anyone checked whether the proxy respects the standard cache headers and options?

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
rme
Hero Member
*****
Offline Offline

Activity: 728



View Profile
December 19, 2013, 06:39:14 AM
 #82

btcticker.appspot.com / https://github.com/vrotaru/btcticker desperately needs to be whitelisted, and any other price converters without viewer IP tracking. So fucking off, I have to choose between deleting them or hoping nobody holds me to the old cached versions in my topics.

A fix for this can be to make a list of domains that need to avoid cache.

Then, concatenate the date, the hour and the actual minute to the url, this has to change dynamically with php.

That way every minute the request will be diferent forcing the proxy to reload the image.

For example this image:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png

Will turn into:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png?anticache=201312182259

Now, with the proxy:
https://images.weserv.nl/?url=btcticker.appspot.com/mtgox/1.00btc2eur.png%3Fanticache=201312182254&fnr

Note: use %3F to encode ? and %26 to encode &.


The format is YEAR MONTH DAY HOUR MINUTE

This way we have a 60 seconds cache + https in images + not leaking ips to whitelist domains

This method will only be used by domains that need to avoid the cache.

That means you need to update the link every time you need it to update which somewhat defeats the purpose.

Has anyone checked whether the proxy respects the standard cache headers and options?

No, php of bitcointalk does that.
Richy_T
Legendary
*
Offline Offline

Activity: 1316


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 24, 2013, 07:51:36 PM
 #83

My thought was that Theymos would not want to do that. But I guess if the code to support the proxy is in there anyway, it's just another minor mod on top.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2842


View Profile
December 27, 2013, 01:48:20 AM
 #84

bitcointalk.org now runs its own image proxy. GIFs will work now, and images will not be cached. However, images that don't load completely after a few seconds will still not work, and invalid URLs in [img] tags are less likely to work than before. Images must not be larger than 1.5 MB. You are only allowed to download so many images via the proxy before you're banned for a while, but no one acting reasonably should run into this. The proxy can't be used except through posts. Old image URLs will expire after a few months.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
BadBear
v2.0
Legendary
*
Offline Offline

Activity: 1652



View Profile WWW
December 27, 2013, 01:52:42 AM
 #85

Testing.

1Kz25jm6pjNTaz8bFezEYUeBYfEtpjuKRG | PGP: B5797C4F

Tired of annoying signature ads? Ad block for signatures
jackjack
Legendary
*
Offline Offline

Activity: 1120


May Bitcoin be touched by his Noodly Appendage


View Profile
December 27, 2013, 02:03:49 AM
 #86


Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
hilariousandco
Global Moderator
Legendary
*
Offline Offline

Activity: 1470


How does one bitcoin?


View Profile WWW
December 27, 2013, 11:22:29 AM
 #87

Testing.


Lol, I'm so looking forward to how much Batman vs Superman is going to suck. although I hope I'm wrong and it's brilliant.

bitpop
Legendary
*
Offline Offline

Activity: 2184


https://keybase.io/bitpop


View Profile WWW
December 28, 2013, 01:00:27 PM
 #88

Very nice, I see you finally cnamed that scary server

Reputation  |  PGP  |  DigitalOcean  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
rme
Hero Member
*****
Offline Offline

Activity: 728



View Profile
December 28, 2013, 01:08:48 PM
 #89


Fix this
bernard75
Legendary
*
Offline Offline

Activity: 1190



View Profile
December 30, 2013, 01:26:12 AM
 #90


http://btcticker.appspot.com/mtgox/100usd.png
Still not working. Sad
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
December 30, 2013, 01:58:24 AM
 #91


Actually it is...

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
bernard75
Legendary
*
Offline Offline

Activity: 1190



View Profile
December 30, 2013, 02:03:00 AM
 #92


I still see:

Am i missing something?
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
December 30, 2013, 02:05:19 AM
 #93


Try to flush out your cache, that maybe the problem. Cause I see 0.123 as when I load up the site as well.

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
bernard75
Legendary
*
Offline Offline

Activity: 1190



View Profile
December 30, 2013, 02:06:37 AM
 #94

Yup, that was it.
Now i only need to convince people to keep on flushing when visiting btctalk. Wink
nimda
Hero Member
*****
Offline Offline

Activity: 784


0xFB0D8D1534241423


View Profile
December 31, 2013, 09:00:18 PM
 #95

Thanks for the gif support.

I recommend asking me for a signature from my GPG key before doing a trade. I will NEVER deny such a request.
ReCat
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
January 04, 2014, 09:01:31 PM
 #96

Thanks for the gif support.

It's about time.

BTC: 1recatirpHBjR9sxgabB3RDtM6TgntYUW
Hold onto what you love with all your might, Because you can never know when - Oh. What you love is now gone.
Richy_T
Legendary
*
Offline Offline

Activity: 1316


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
January 05, 2014, 03:17:42 AM
 #97

Just to point out that the proxy doesn't handle images from blockchain.info.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Akka
Legendary
*
Offline Offline

Activity: 1162



View Profile
January 15, 2014, 09:06:17 AM
 #98

Thanks theymos.

If I'm accessing Bitcointalk from my workplace, most image Hosters are blocked.

I just realized that I can now see all images, thanks to the proxy.

Much appreciated.

All previous versions of currency will no longer be supported as of this update
bitpop
Legendary
*
Offline Offline

Activity: 2184


https://keybase.io/bitpop


View Profile WWW
January 16, 2014, 05:15:07 AM
 #99

Thanks theymos.

If I'm accessing Bitcointalk from my workplace, most image Hosters are blocked.

I just realized that I can now see all images, thanks to the proxy.

Much appreciated.

And ssl unless your work already compromised that

Reputation  |  PGP  |  DigitalOcean  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
arsenische
Legendary
*
Offline Offline

Activity: 1155


View Profile
January 16, 2014, 12:01:30 PM
 #100

Great idea with image proxy! But I get an error for this image:  . Why?

Pages: « 1 2 3 4 [5] 6 7 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!