curl works very slow on

Do you guys know why curl (or any other request) works very slowly on some pages of The issue can be reproduced by doing this:

  1. Choose a $5 droplet with Ubuntu 14.04 x64 (I have also tried $10 and $20).
  2. Choose New York 1, 2 or 3 (I have also tried SF and Amsterdam).
  3. Use an SSH key (have not tried it without a key)
  4. ssh into the created droplet as root user
  5. curl

Then you will see that it is very slowly loading in the HTML page. Other websites work just fine at an almost instant speed. Does anyone know why this happens with craigslist specifically? I have tried servers from other providers and they work just fine.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

They must be throttling Digital Ocean. My home server running Ubuntu Server can curl just fine.

While I cannot say for certain, I would not be at all surprised if craigslist intentionally slowed responses when they see a CURL user-agent string. Craigslist’s terms of use do not allow scraping of their content and that would be the primary reason for a curl request. Based on your attempts from multiple regions (on different networks) this is almost certainly in the way that CL is handling requests. Over the years craigslist has seen an absolute ton of various projects, companies and individuals scraping their content for whatever reasons.

In general, my advice would be to use craigslist in a standard browser according to their TOS.