This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
BiohazardStuff's profile picture

Pastebin Caching

Started by BiohazardStuff, 07 March 2016 - 11:00 PM
BiohazardStuff #1
Posted 08 March 2016 - 12:00 AM
I'm currently playing on a FTB Infinity Evolved v2.3.5 Expert Mode server and I've run into something I've never seen before with pastebin. I was making some fixes to a program using pastebin's editor then using 'pastebin get' to pull it to the computer and noticed that if I tried doing this too fast (maybe 2 mins between gets) the version of the file I got was the old one but if I waited closer to 5 minutes it would work fine.
So I was wondering if this is some new ComputerCraft feature or is it that the server I'm on or pastebin them selves have some kind of cache system to reduce traffic / processing time?
Dog #2
Posted 08 March 2016 - 02:16 AM
This was actually recently discussed in this thread. The relevant parts…
Pastebin's raw file sometimes takes a little while to catch up to the latest upload.
I don't have a solid figure, but I've seen upwards of ten minutes before.
The longest it has taken for me is four hours, so it's just a waiting game, really.
Edited on 08 March 2016 - 01:25 AM
BiohazardStuff #3
Posted 08 March 2016 - 02:26 AM
Ah, that would explain it. Thanks for the response
Bomb Bloke #4
Posted 08 March 2016 - 02:31 AM
Which version of ComputerCraft are you using? I suspect it's related to this:

http://www.computercraft.info/forums2/index.php?/topic/25963-how-to-download-from-pastebin/page__view__findpost__p__245660

You can check for yourself by manually reviewing the two different raw links for your paste using your web browser.
BiohazardStuff #5
Posted 10 March 2016 - 10:01 AM
Hi Bomb Bloke, The pack is using 1.75 so you could be right on that.
I did a bit of work on my script just yesterday or the day before and it was working perfectly fine.
Perhaps the Pastebin servers were under heavy load so the update of the raw file was slightly delayed for that time.