[wp-hackers] XML-based display and spoofing multisite

Andrew Nacin wp at andrewnacin.com
Sat Jan 15 22:37:08 UTC 2011


On Sat, Jan 15, 2011 at 4:36 PM, William Davis <will.davis at gmail.com> wrote:

> I'm sorry I keep asking so many questions — if I'm annoying people please
> let me know. I have two this time.
>
> My first question is if it's possible and advisable to spoof a multisite
> instance. The reason I'm asking is because caching plugins don't really work
> well with mobile sites — you can have caching bypass mobile devices, but
> then those devices aren't being served cached pages and it doesn't really
> work that well anyway. So what I'm thinking is to spoof a separate site —
> for example, m.example.com, and use the same database as the main site but
> serve a different theme, and that site would be cached as well.
>

I would just write a plugin to allow m.example.com to work off the same
install as example.com. You'd have to ensure a different theme is served,
that links are changed over, and that the cache would be kept differently.

pretty much generating an xml file of everything in order to reduce strain
> on the database.


We have RSS feeds, no?

Nacin


More information about the wp-hackers mailing list