WordPress.org

Ready to get started?Download WordPress

Forums

High load - Static tuned down pages (5 posts)

  1. Pedro Candeias
    Member
    Posted 3 years ago #

    Hi,

    How can i duplicate the content from my blog to another subdomain and have it appear without sql request or php? any idea?
    I´ve search the forums hoping to find a solution for this, but with no luck.
    I want to have a tuned down, only static-pages site in another subdomain for situations of really high load - A light version.
    Here's an example: this is the main site: http://publico.pt/ heres the tuned down version: http://ultraleve.publico.pt/
    The idea behind it, is that if the server is really under great stress it just start redirecting people to the light version that only server a static html page, an image (logo), and some css.
    The server redirecting i think is kind of easy to resolve. My question is, how can i duplicate the content from my blog to another subdomain and have it appear without sql request or php? any idea?
    Thanks.

  2. Pedro Candeias
    Member
    Posted 3 years ago #

    Should this be moved to WP-Advanced forum?

  3. HF T
    Member
    Posted 3 years ago #

    Sorry if this is a stupid question, but are you using WP Super Cache?

    That does what you're asking (produce static html rather that a db query) but without the domain change...

  4. Pedro Candeias
    Member
    Posted 3 years ago #

    I´m using W3TC.
    I know it produces static html rather than a db query, but i´m looking for a fall back mechanism. I don´t want to serve my heavy pages when my server is in some sort of trouble.

    Try to imagine this scenario:
    1. You get a gigantic traffic spike on you're blog or the mysql server has some sort of problem
    2. The server (or maybe even you) start a light webserver like lighty that redirects all traffic to this "light content".
    3. It stops the other webserver and avoids a tragedy :)
    4. When the spike is over, everything returns to its normal state.

    No cache, no sql queries, no big features, just plain and simple content.

    I know that the big players have big infrastructures that support all kind of errors, but we, the little guys don't. This would be a cheap and reliable alternative for always being able to show our content, and have time to get a second server or whatever without actually being offline, if you get a really huge spike. I believe it could actually be a great thing for WP.

    What do you think HF T?

  5. Pedro Candeias
    Member
    Posted 3 years ago #

    So, i think i found a partial solution. It still needs work. Found this plugin that does what i want. So the next step is to configure to server. http://wordpress.org/extend/plugins/really-static/faq/

Topic Closed

This topic has been closed to new replies.

About this Topic