Forums

W3 Total Cache
[resolved] Discriminatory Caching for Different Countries? (7 posts)

  1. Sujay
    Member
    Posted 2 years ago #

    I have a website that serves specific localized content for people in many different countries. I'm using W3TC and I love it, but I'm wondering if a cache is created by someone from, say the US, will the next visitor from the UK be served the cached US content? Is there anyway to work around this?

  2. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Which plugin are you using?

  3. Sujay
    Member
    Posted 2 years ago #

    For the localized content? None, just hand coding small bits of PHP into the theme templates. I'm using the http://www.wipmania.com/ API to output the country code of the visitor into a variable, and then displaying different content with some conditional PHP.

  4. Sujay
    Member
    Posted 2 years ago #

    Unless you recommend some plugin that might work better with this?

  5. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    There are several and unfortunately none are coming to mind now.

  6. Gabriel Koen
    Member
    Posted 2 years ago #

    qTranslate is nice, and it creates a unique url (e.g., example.com/en/path/to/post/) which should play nice with W3TC but I haven't tested it.

  7. Sujay
    Member
    Posted 2 years ago #

    mintindeed that looks like a great solution, thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic