• Resolved archibaldberger

    (@archibaldberger)


    Hi,
    I like your lightweight plugin. Unfortunately there is a problem with wordpress multisite:

    The plugin is working well on all blogs (which I see in the source code),
    but not on the MAIN BLOG. There I get always an uncached version of the page.

    I deactivated all plugins many times. I refreshed plugin cache and browser cache. I also tried the .htaccess snippet for Apache < 2.3.9 (no difference).
    (Snippet for Apache 2.3.9 and later is not working, here I get an error message).

    WordPress 4.9.4 Multisite, Cache Enabler 1.2.2, Apache, PHP 7.0.19

    Do you have any solutions for me? Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you double checked that the plugin is network activated? I just tested this on a fresh install using a default theme and it properly caches the main blog as well as any sub sites within the multisite setup.

    Do you also have a URL you can provide?

    Thread Starter archibaldberger

    (@archibaldberger)

    Thank you for your help! Yes, Cache enabler is definitely network-activated.
    The issue becomes even more strange, because now Cache enabler is working on none of my sites – and meanwhile I did only small text changes. Here two of the urls:
    arxcxhxcxoxnxsxuxlxtxixnxgx.xaxt – main blog
    arxcxhxcxoxnxsxuxlxtxixnxgx.xaexu – second blog
    Please remove the ‘x’ ??
    Here caching is not so important, but I have a large site, where it is.

    EDIT: Now I disovered that wordpress meanwhile automatically uptated from 4.9.4 to 4.9.5. Could this be the reason?

    You said that in your multisite environment, Cache Enabler is working properly.
    So I searches the error within my install. This should be a clean install, but in fact there a some rests from plugin testing in database. I tried:

    – Removing my php.ini from the server >> no effect
    – Using different plugin snippets in htaccess >> no effect
    – Database reset to absolutely clean wordpress multisite install with only one post per site, wordpress theme seventeen, no plugin activated (only cache enabler)
    and then a) htaccess with and without apache snippet < 2.3.9 (> 2.3.9 I get error) b) different Cache Enabler settings c) always url cache delete, cache delete, browser cache delete d) control of page source code in main and second blog with page refreshing >> no effect!!

    – Installing the health check plugin https://de.www.ads-software.com/plugins/health-check/ which says: a) all ok besides b) PHP is only 7.0.19 (which I use because with PHP 7.1 I get WordPress errors) and c) cUrl is only 7.26.0, resommended is 7.38 (but that is part of the PHP version I suppose).

    I believe you that Cache Enabler is working on multisite. And it was working partially on my sites. But I have absolutely no idea what I could try to fix it.

    Any ideas? – Thank you!

    I can’t seem to access your second blog (is it suppose to end in .aeu?) Although I correctly see the Cache Enabler HTML comment in your first blog. Have you ensured that you were logged out when checking if things were working properly?

    Thread Starter archibaldberger

    (@archibaldberger)

    The sites are .at und .eu – sorry.

    I did a lot of testing, also reinstalled WP 4.9.4, and then I found the solution:

    Cache Enabler works perfect on all of my sites, but that is not displayed in the Firefox source code. I updated to Firefox Quantum 59.0.2 (64-Bit) as main browser.
    In Chrome, Edge, Safari, Opera the Cache Enabler HTML comment is always displayed.
    In Firefox ONLY if compression is activated (besides one site, database maybe).

    During my tests I also found out that the apache snippet <2.3.9, which I used:
    – shows weired umlauts and html symbols (when logged out)
    – in mobile does not display certain elements of my theme (e.g. fullwidth slider)
    But that’s no proble as Cache Enabler works fine with my server without snippet.

    So promlem solved – and thank you for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problems with multisite’ is closed to new replies.