Swift Performance / plugin documentation version 1.0
Generating critical CSS needs some CPU. If your site is running on low-end hosting, when your resources are very limited this function may won't work (depends on your theme/plugins)
Envato Purchase KeyOptionally you can set your Envato purchase key, after this you will be able to update the plugin from WordPress admin, and you will be able to use the image optimizer API. You can find your purchase key in Downloads on CodeCanyon.
Optimize ImagesEnable if you would like to optimize the images during the upload using our Image Optimization API service.
Lazy LoadEnable if you would like lazy load for images. Lazy load will work for every uploaded images.
Normalize Static ResourcesRemove version number query string from CSS and JS files and it will remve every dynamic query string from some images as well.
WhitelabelPrevent to add Swift Performance response header and HTML comment.
Exclude 3rd scriptsExclude 3rd party scripts from merged scripts
Exclude ScriptsExclude scripts from being merged if one of these strings is found in the match.
Exclude 3rd Party AssetsExclude scripts from being proxied if one of these strings is found in the match.
Merge StylesMerge CSS files to reduce number of HTML requests
Print critical CSS inlineEnable if you would like to print the critical CSS into the header, instead of a seperated CSS file (recommended).
Print full CSS inlineEnable if you would like to print the merged CSS into the footer, instead of a seperated CSS file.
Minify CSSEnable this function if you would like to minify the merged and critical CSS file.
Exclude 3rd Party CSSExclude 3rd party CSS files (eg: Google Fonts CSS) from merged styles
Exclude StylesExclude style from being merged if one of these strings is found in the match.
Merge Assets for Logged in UsersEnable if you would like to merge styles and scripts for logged in users as well. You should enable this option only if the content won't be changed frequently, and/or you have small CSS. Otherwise it can affect the user experience.
Merge Assets in BackgroundIn some cases the generating the critical CSS takes some time. If you enable this option the plugin will generate it in the background. This option is available only if caching is enabled.
Caching ModeDisk cache with rewrites is faster, however sometimes you can't edit the .htaccess file or the Nginx config so Disk cache with PHP is also available as a fallback.
Cache PathYou can specify a cache path. It will be wp-content/cache by default.
Cache Expiry ModeYou can choose the traditional time-based cache expiry, however there is an Intelligent cache expiry option as well. If you choose the intelligent cache expiry the plugin will check the cache integrity after every pageload, and the cache will be regenerated only if there was some changes on your site.
Cache Expiry TimeIf you choose the time-based cache expiry you can specify the expiry time here (in seconds).
Resource saving modeThis option will reduce intelligent cache check requests. Recommended for limited resource severs. You also should use this option if there are dynamic generated parts (eg tokens) in the source.
Enable Caching for logged in usersThis option is available only for intelligent cache expiry. Please note, that it can increase the total cache size, depending on the count of your users.
Enable Mobile Device SupportYou can create separate cache for mobile devices, it can be useful if your site not just responsive, but it has a separate mobile theme/layout.
Enable Browser CacheIf you enable this option it will generate htacess/nginx rules for browser cache.
Enable GzipIf you enable this option it will generate htacess/nginx rules for gzip compression.
Exclude PagesYou can exclude any pages from cache here. Some pages like WooCommerce cart, checkout, etc won't be cached by default.
Exclude stringsURLs which contains any strings from this list won't be cached.
Enable Dynamic CachingIf you enable this option you can specify cacheable $_GET and $_POST requests
Cacheable Dynamic RequestsSpecify $_GET and/or $_POST keys what should be cached. Eg: "s" to cache search requests
Cacheable AJAX ActionsWith this option you can cache resource-intensive AJAX requests (eg AJAX search). You should specify the action names here.
CDN HostnameYou can specify a main CDN hostname. If you doesn't specify more hostnames it will be used for all static contents.
CDN Hostname for Media filesUse different hostname for media files
Enable CDN on SSLYou can specify different hostname(s) for SSL, or leave them blank for use the same host on HTTP and SSL
MAXCDN AliasIf you are using MAXCDN you can specify your Alias here
MAXCDN Consumer KeyIf you are using MAXCDN you can specify your Consumer Key here
MAXCDN Consumer SecretIf you are using MAXCDN you can specify your Consumer Secret here
If you already activated your copy, you will be able to use our unlimited image optimizer API. With this service you can optimize your images without loss.
You can run the optimizer on your previously uploaded images in Media Library, however you can also optimize your images individually on the image edit page.