Comment

Comment by chatmasta

Really cool, I’ve toyed with this idea before.

Unfortunately the challenge is interactive plugins. I’m skeptical of your solution to effectively build a white list of supported plugins. This will obviously be a dealbreaker for many sites.

Off the top of my head, here’s how I would solve it:

- The user hosts their “origin” WP site on a separate subdomain from the main site and leaves it running

- Your product scrapes from that subdomain. When it encounters any page with a form action, it rewrites the form action to point to the origin subdomain

- If it detects dynamic content on the page (not sure on best way to do this), or the request follows a form action, it registers a CACHE_MISS for the page and fetches it from the origin subdomain

parent chatmasta 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton