You can even use worldwide cloudflare caching for your site, and store userdata in the EU, and still comply.
That works for actual short lived caching, but not for database replication which is what you would actually need for services like facebook.
//EDIT: also the directive does not actually mention caching directly, it just mentions various exceptions of the rule. Can I have a reference to what you mean exactly?
Even just adding 100ms latency to Google's page load time had a clear measurably effect on # of searches, and having 100+ms latency for each database request during a pageview would absolutely kill performance of most sites...
EDIT: to those downvoting try cold loading google.com, I get > 200ms within San Francisco. 100ms is not "insanely" bad, and maybe a good price to pay for regulated data privacy
Back to topic: Database replication is forbidden, yes. So, well, host your data in the EU for now, and hope that the US finally comes to senses regarding spying. Same applies to GCHQ and BND
only three of my top links are from today if I search something like "EU safe harbor caching" and even fewer for searches that omit "safe harbor" and search for data protection (which gets you the actual directives as the first hit).
Regardless, your problem is solved easily with Search Tools -> Any Time -> Custom range...
Anyway, database replication is nothing that is supposed to be exempt from data privacy laws anyway. You’ll have to deal with it somehow without giving my data into the hands of a US entity.
I can send messages just fine from @jabber.de to someone on a US server.