> All in One 586: WordPress-Powered Landing Pages on a Totally Different Site via Cloudflare Workers

Ads

Wednesday, July 22, 2020

WordPress-Powered Landing Pages on a Totally Different Site via Cloudflare Workers

What if you have some content on one site and want to display that content on another site? We can do this in the browser no problem. We can fetch it, and plunk it onto the page.

Ajax, right? Ugh. Now we’re in client-side rendered site territory, which isn’t great for performance, speed, or resiliency.

What if we could fetch that content and stitch it into the main page on the server side? Server side isn’t the right word for it though. What if we could do it at the global CDN level? Do it at the edge, as they say. That’s what we’ve been doing at CodePen, so we can build pages with the lovely WordPress block editor but serve them on our main site.

Direct Link to ArticlePermalink


The post WordPress-Powered Landing Pages on a Totally Different Site via Cloudflare Workers appeared first on CSS-Tricks.

You can support CSS-Tricks by being an MVP Supporter.



from CSS-Tricks https://ift.tt/3h9kbYu
via IFTTT

No comments:

Post a Comment

Mostly Clear/Wind today!

With a high of F and a low of 11F. Currently, it's 20F and Fair outside. Current wind speeds: 18 from the Northwest Pollen: 0 Su...