• Skip to primary navigation
  • Skip to main content
  • Skip to footer

JohnnyVPS

ULTRA-fast WordPress Hosting

  • Features
  • Pricing
  • Support
  • Reviews
  • Sign Up

Swift Performance Cache (recommended JVPS settings)

Posted on January 11, 2019 by Johnny Nguyen

To use Swift caching plugin, you must install it. Go to WP admin > Add Plugins > search “Swift Performance”, install and activate.

Go into Swift settings, click [Advanced View] on the right side. Then set as follows. (NOTE: if I don’t mention a certain item, that means leave it on default! Some items are only in the paid version.):

  • General > General – enable “Use Compute API” if you have it.
  • General > Tweaks – check “Normalize Static Resources”, and put your 301 HTTPS redirects (use method #2) in the “Custom Htaccess” section.
  • Media > Images – everything off except for “Keep Original Images”.
  • Optimization > General – everything OFF! Enable “Limit Simultaneous Threads” and set “Maximum Threads” to 3.
  • Optimization > Scripts – disable “Merge Scripts”!
  • Optimization > Styles – disable “Merge Styles”!
  • Caching > General – Enable Caching, Early Loader, Enable Browser Cache, Enable GZIP…all of these should be ON. Caching Mode should be “Disk Cache with Rewrites”.
  • Caching > Tweaks – doesn’t matter.
  • Caching > Exceptions – for “Exclude Post Types”, I usually exclude everything except for pages, posts, products and any other types of items that have their own URL on front-end. For “Exclude Pages”, I usually exclude any pages with contact forms if you have issues with them. Login/Cart/Checkout/Account pages are also good candidates for exclusion. At the bottom, leave “Exclude Archive” to OFF.
  • Caching > Warmup – Prebuild Cache Automatically, Prebuild Author Pages, Prebuild Archive…should all be ON. Everything else OFF. Prebuild Speed should be either Unlimited or Moderate (for sites with thousands of pages).
  • Caching > Varnish – we don’t have Varnish. Leave it OFF.
  • CDN > General – if you have CDN, turn on “Enable CDN” and “Enable CDN on SSL” and enter your CDN hostname here (usually a subdomain like “cdn.domain.com”).  Leave everything else alone. Do not enable CDN here if you only have Cloudflare.
  • CDN > Cloudflare – check “Enable Auto Purge” and then enter your Cloudflare account email and API key.

For a more detailed explanation of all the options, read this UNOFFICIAL Swift Performance Cache Guide.

Looking for ultra-fast WordPress hosting?

Learn More About JVPS

Post navigation

←Previous

LiteSpeed Cache (recommended JVPS settings)

Next→

Setting up offsite backups to Amazon S3 (dedicated VPS)

Reader Interactions

Comments

  1. Johan Stam

    July 8, 2021 at 1:32 am

    Does Swift work well with Nginx? Using a VPS with varnish, but need more speed.

    Reply
    • Johnny Nguyen

      July 13, 2021 at 8:46 am

      Yes, Swift works on NGINX.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Footer

Features

  • Speed
  • Reliability
  • Security
  • …see all.

Comparisons

  • WP Engine
  • Flywheel
  • SiteGround
  • Cloudways

Support

  • Documentation
  • Facebook group
  • Submit a Ticket
  • Slack

Company

  • About JVPS
  • Blog
  • FAQ
  • Terms

JohnnyVPS

Boutique webhost specializing in speed, reliability, and security. Servers in USA, Europe, Asia, and Australia!

Contact Us

© 2026 JohnnyVPS. All rights reserved.

Media Affiliates Newsletter Facebook Twitter
GDPR Cookie Banner

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .