1,306 karma · joined March 25, 2007
Most of the current SPA frameworks can re-hydrate SSR'd JS without issue, so instead of configuring SSR, just use a headless browser, which is what Roast does.
curl https://service.prerender.cloud/screenshot/https://google.com/ > out.jpg
curl https://service.prerender.cloud/pdf/https://google.com/ > out.pdf
curl https://service.prerender.cloud/https://google.com/ > out.html
https://www.prerender.cloud/1. a configurable cache per URL that defaults to 5-minutes (can be disabled or increased up to 1 month)
2. and non-configurable http caching within chrome (cache-control headers), but since the cluster is auto-scaled, this cache naturally purges every few hours.
curl https://service.prerender.cloud/screenshot/https://google.com/ > out.jpg
and a chrome extension that doesn't return a screenshot, but:1. disables JavaScript 2. pre-renders the site (executes the JS) 3. returns HTML
https://chrome.google.com/webstore/detail/prerendercloud-dis...
https://github.com/sanfrancesco/prerendercloud-chromeextensi...
Under 20,000 monthly requests = $9 flat rate ($0.00045)
Under 100,000 monthly requests = $40 flat rate ($0.0004)
>= 100,000 monthly requests = variable rate @ $0.00036/req
cheap, because we optimized for just 3 things:
pre-rendering, screenshots, or PDFs for $0.000365 per API request
curl https://service.prerender.cloud/screenshot/https://google.com/ > out.jpg
curl https://service.prerender.cloud/pdf/https://google.com/ > out.pdf
curl https://service.prerender.cloud/https://google.com/ > out.htmlI don't think that's the case, because it ignores blowback.
For example, if a military uses a drone to precision kill enemies in foreign territory 10 times over a 6-month period, what effects does that have on the local population?
It's kind of a philosophical difference.
But options might not be a good thing (overall) if it means more violence.
Less precise weapons mean more decision friction before a "shot is fired", and that friction before firing a shot might be a net positive overall.
"Los Angeles is no longer part of the United States, as the federal government of the United States has ceded most of its power and territory to private organizations and entrepreneurs"
https://finance.yahoo.com/quote/TWTR/financials?p=TWTR
https://twitter.com/charliebilello/status/989610534801637382
This announcement suggests "usage-based", which is how AWS and Google Cloud bill you: for how much you used during the previous billing period.
from Sapiens: https://books.google.com/books/about/Sapiens.html?id=FmyBAwA...
With infinite time we could fix a lot of things.
A better case against blockchains would be exploring the reasons why we shouldn't care about trustless properties that blockchains give us.
It's great for consumers in the short-term but commodifies businesses into an informational API for Google's UX.
> why else would all these search engines do this?
because lower latency increases user activity and search volume
The question you aren't asking is: "What are the long term implications to the ecosystem when Google controls the UX for all 3rd party data?"
Agreed. Many of my leads for https://www.prerender.cloud/ end up not using the service after we discover the root cause of slowness was due to an initial, slow, render-blocking XHR request, or in some cases infinite loops that eventually get cut off.
AMP seems to allow sidestepping root cause performance issues by creating a pure version just for Google - it's a growth hack - "don't bother refactoring your app (which would require overcoming organizational inertia), just make a streamlined version for us."
// URL to screenshot
service.prerender.cloud/screenshot/https://www.google.com/
// URL to pdf
service.prerender.cloud/pdf/https://www.google.com/
// URL to html (prerender)
service.prerender.cloud/https://www.google.com/I think that's the point - would you rather run your own VPS and manage the logs/errors from a cron job? Or simply write code that conforms to their contract and not worry about logs, errors, and whether it can scale or will fail to restart itself.
Get it for $0.000365 per screenshot from me (shameless)
[1]: https://www.prerender.cloud/docs/api
curl http://service.prerender.cloud/screenshot/https://google.com/ > out.jpghttps://www.prerender.cloud/docs/api
curl http://service.prerender.cloud/screenshot/https://google.com/ > out.jpg // URL to screenshot
service.prerender.cloud/screenshot/https://www.google.com/
// URL to pdf
service.prerender.cloud/pdf/https://www.google.com/
// URL to html (prerender)
service.prerender.cloud/https://www.google.com/