Code Monkey home page Code Monkey logo

Comments (7)

leedo avatar leedo commented on July 18, 2024

One solution may be to disregard the hostname portion, but that may not play well with multi-site features.

from batcache.

crbn60 avatar crbn60 commented on July 18, 2024

I think I'm running into this as well, mind sharing exactly what you did to kludge around this?

from batcache.

leedo avatar leedo commented on July 18, 2024

In the batcache manager plugin we're doing a string replace to switch the domain from our cms domain to the production domain:

function batcache_clear_url($url) {
    if ( empty($url) )
        return false;
    $url = str_replace("cms.site.com", "site.com", $url);
    ...

I should also mention that we weren't actually using advanced-cache.php on our cms domain, which was another problem.

from batcache.

crbn60 avatar crbn60 commented on July 18, 2024

Thank you, I added that in. I still can't seem to conclude that batcache is handling my requests, though, as it still does not give me any feedback.

from batcache.

leedo avatar leedo commented on July 18, 2024

Have you tried enabling the debug option? That will insert a comment at the end of your <head> tag with some stats.

from batcache.

crbn60 avatar crbn60 commented on July 18, 2024

I did trie that, but it doesn't seem to have any effect.

from batcache.

vnsavage avatar vnsavage commented on July 18, 2024

This means that you probably either don't have advanced-cache.php or WP_CACHE is not set or you're testing in a browser which has been logged in.

from batcache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.