• Hi!

    I’m a developer of a WordPress plugin, so I’ve setup a multisite installation where I test new versions of the plugin.

    With the recent upgrade to 4.9.5, I’ve been experiencing troubles with local cache of all pages (even in admin).

    And sometimes it seems like settings aren’t saved properly, because when I revisit the settings pages, the old values are there instead of the ones I set.
    (This can _often_ be resolved by pressing Ctrl+F5, but not always)

    And when I created pages, I had trouble with pages overwriting each other, even though I clicked “Add new”. And there was “backups” of old pages in the new pages I tried to create.

    For example, I can go into Settings -> General and set another timezone, and when I save and click “General” again, the time zone would have reverted to the old value. But if I press Ctrl+F5, the correct value is shown.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @mnchga

    Yes, it happens in some cases when your settings are in-progress and you refreshed pages, or it might cause due to settings overrides. You may try simple plug-in folder rename or try with switch the theme.

    Still having issue, then let me know. we will go into further steps.

    Tnx

    Hi Chris,

    Could you share which browser you are using? Does this behavior also occur in a private/ incognito browser?

    Hi @reneesoffice

    I’m currently on Chrome 65.0.3325.181 (Official Build) (64-bit).

    And yes, it does appear while in Incognito mode too.

    Here’s a screen-capture of it happening.

    – Changing date format
    – Saving, correct format is selected
    – Click “General” again, wrong format is selected.
    – Press F5, correct format is selected again.

    Hi @sumeetgohel

    I only refresh the page after the settings have been saved,
    so I think this might not be the case. Sorry.

    When I check the network tab in developer tools, I can also see that it’s using the disk cache.

    https://itssimple.se/share/u/multinet/2018/04/06/1310-019c.png

    (And the page is shown in Swedish, instead of English, which is selected.

    Found the problem, the problem was in the nginx-configuration..

    The offending config was:

           expires 86400s;
           add_header Pragma public;
           add_header Cache-Control "max-age=86400, public, must-revalidate, proxy-revalidate";

    Thanks for the info! A few more questions if you don’t mind:

    Does it also occur in a different browser (Safari, Firefox, etc.)?

    If so, do you have any caching plugins installed or server-side caching?

    Ah there we go! Happy you found the culprit!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Problems with caching, sitewide (frontend/admin)’ is closed to new replies.