WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress caching (9 posts)

  1. snd26
    Member
    Posted 1 month ago #

    I am using WP super cache on my subdomain multisite that I am still creating, it is extremely fast, loads instantly the only problem I have is that I need to go to contents > delete cache from all blogs every time there is a site appearance change (header, widget, theme customize etc) otherwise the old appearance keeps caching. Not a problem for a single install of wordpress, but I have a multisite.

    I have tested it on a new install with no plugins or changes etc. Just installing wp cache and turning it on. Still happens.

    Would this be due to my server configuration? has anyone else had this problem and have a fix?

    Any help appreciated

  2. In general, that's how caching works. It stores dynamic resources as static files for a set amount of time. You can either shorten that amount of time in settings, manually refresh, or just wait for the cache to refresh at the default time.

    If you need more help with that, I recommend asking at http://wordpress.org/support/plugin/wp-super-cache so the plugin's developers and support community can help you with this.

  3. snd26
    Member
    Posted 1 month ago #

    Thanks James, I see. Is it possible to reduce the amount of time in settings to the minimum so a users website instantly updates when they make any admin change? or does this completely defeat the purpose of having a caching plugin.

    Would anyone be able to share with me the best combination to speed up a multisite. When my multisite goes live I will go on a dedicated server, I already have htaccess tweaks such as gzip compression and expires caching.

    What kind of performance does wordpress.com use for all their sites to keep the speed up whilst allowing their users to instantly update their website? This is something I would really like to know.

    Any advice much appreciated.

  4. WPMUDEV
    WPMU DEV Support Staff
    Posted 1 month ago #

    Hey snd26,

    Usually cache is for the finished product that shouldn't change that much, so commonly people will work within a sandbox environment whilst setting things up, testing, fixing, and then finally moving those confirmed changes to a production environment.

    Depending on the type of site and the user it's probably not always the method people choose.

    Under:

    Admin --> Settings --> WP Super Cache

    You will find an option called "Expiry Time & Garbage Collection" where you can change the expiration time. On that same page you could also check "Don’t cache pages for known users", this way whilst getting it right you could see changes in realtime whilst logged in.

    There could be a shortcut way to clear cache, perhaps this would save you some time:

    https://wordpress.org/plugins/wp-super-cache-clear-cache-menu/screenshots/

    Would anyone be able to share with me the best combination to speed up a multisite. When my multisite goes live I will go on a dedicated server, I already have htaccess tweaks such as gzip compression and expires caching.

    Taking a look at the hosting environment is always worth a look in, a shared host with many sites and processes running will be slow. You mentioned going on to a dedicated server, but I wasn't sure about connection, set up, config, etc. It sounds like you've not launched yet so perhaps disabling the cache whilst developing the site would be best.

    Hope you find this of some help.

    Have a great weekend! :)

  5. snd26
    Member
    Posted 1 month ago #

    I only have basic knowledge on how caching works so where some wordpress caching plugin authors say they are suitable for multisites I assumed they would work in a certain way - like the cached file automatically updating or removing after any admin change. Just shows my lack of knowledge about them.

    Although, that option "Don’t cache pages for known users" might be the answer. A new user probably won't know how fast their website really is until they log out but it's better than not having a caching plugin.

    I'm just testing caching plugins at the moment which is the reason they are currently enabled on my multisite.

    Does anyone know if wordpress.com uses any caching technologies or use CDN? I'll probably end up doing the same.

    Thanks for your replies.

  6. snd26
    Member
    Posted 1 month ago #

    Also I am not yet 100% convinced about it yet but I might give buddypress a test at some point. I'm only good with css and designing themes, so don't know if buddypress will be to much to maintain or the right choice for me yet. Would caching plugins be unsuitable to use with a buddypress setup?

  7. Does anyone know if wordpress.com uses any caching technologies or use CDN?

    They use both, and both were built-in house and not available as plugins.

    Those closest you can get is the Photon module in the Jetpack plugin, which uses WordPress.com's image CDN.

    Would caching plugins be unsuitable to use with a buddypress setup?

    I'm not sure, I recommend asking at http://buddypress.org/support/

  8. snd26
    Member
    Posted 1 month ago #

    Thank you

  9. You're welcome!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.