=== Speed Kit === Contributors: baqend Tags: performance, caching, optimization, fast, secure, static website generator, speed Requires at least: 4.6.0 Tested up to: 4.9.6 Stable tag: 1.7.2 Requires PHP: 5.5.9 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Easily use Baqend Cloud for your WordPress site and make it lightning-fast. == Description == This WordPress plugin makes using [**Baqend Speed Kit**](https://www.baqend.com/speedkit.html) a breeze. After activating the plugin, Speed Kit will be integrated into your WordPress to accelerate requests against it. Baqend Speed Kit accelerates your existing website by rerouting the requests through Baqend’s caching infrastructure. Using the configuration described in this document, it works for any WordPress website and achieves a performance boost of typically 50-300%. = Features = * Accelerate your WordPress **by 50-300 %** * Automatically enable an **offline mode** * Browser support of **over 80%** * **Works for any website**, whether for publishers, landing pages, e-commerce, brands, or agencies = Why Speed Kit? = Page load time is money. This is not only true for companies like Amazon that loses more than 1.3B USD in revenue per year, if their website is a 10th of a second slower. It is also true for publishers, whose business model depends on a user experience that facilitates consumption of as much content as possible. However, many brands, publishers, and e-commerce businesses have heterogeneous and complex technology stacks that make it extremely hard to tackle performance, scalability, and page load time. Novel browser technologies now offer a means of making web performance as simple as including a script. = Connect with Baqend = * [Website](https://www.baqend.com/ "baqend.com") * [Twitter](https://twitter.com/Baqendcom "@Baqendcom") * [GitHub](https://github.com/Baqend "@Baqend") * [Medium](https://medium.baqend.com/ "Baqend Blog") * [Facebook](https://www.facebook.com/baqend/ "fb.com/baqend") * [Instagram](https://www.instagram.com/baqend/ "@baqend") == Frequently Asked Questions == = How does Speed Kit work? = Speed Kit adds a [Service Worker](https://developers.google.com/web/fundamentals/getting-started/primers/service-workers) to your WordPress which will be accessible from _/sw.js_. The Service Worker then reroutes all requests from your WordPress’s backend to a fast cache which is synchronized with your website. = How do I measure my speed up? = You can use our [Page Speed Analyzer](https://test.speed-kit.com/ "Baqend’s Page Speed Analyzer") to do so. Simply enter the URL of your WordPress there after installing Speed Kit. If you want to measure your speed up manually in your browser, [read this article which shows you how to do so](https://www.baqend.com/guide/topics/speed-kit/analyzer/ "Article: How to measure speed up in the browser"). = What is the difference between Speed Kit and traditional content delivery networks (CDNs)? = With Speed Kit, you get all the advantages of a CDN; in fact, Speed Kit uses a CDN under the hood. In addition, however, you also get the following benefits: * Your website becomes a Progressive Web App by default, i.e. users can keep using the website even if they lose their Internet connection temporarily. * Speed Kit can cache dynamic content such as your HTML file or user comments in addition to static content such as stylesheets or images; you decide how often Speed Kit refreshes its copy! * Speed Kit uses the browser cache which is located in the user’s device: Thus, Speed Kit serves data even faster than common CDN caches. = Why do I need SSL for Speed Kit? = Speed Kit is built on [Service Workers](https://developers.google.com/web/fundamentals/getting-started/primers/service-workers), a new technology that is currently entering all major web browsers. Since Service Workers can only be enabled on SSL-secured websites, Speed Kit is also only available when SSL is turned on. = Is WooCommerce supported? = Yes! We have special integration features for WooCommerce which come automatically with this plugin. = When is Speed Kit active? = Speed Kit is caching content everywhere on your website except in the following cases: * You are logged in * You are using WooCommerce and have items in the shopping basket or on the wishlist = I cannot install or update the plugin = Probably the write permissions are not set correctly. The Service Worker needs to be stored in the root directory as _sw.js_. You need write permissions to the root directory to let the plugin do so. = How do I control Speed Kit? = You can use a white- and blacklist that controls which pages and resources are handled. You can switch off Speed Kit via “Disable Speed Kit” in the Speed Kit > Settings menu. If you have any questions, please contact us! We are happy to help you to create an optimal configuration for you! = Do I have to insert something into my HTML? = No. The plugin provides the full integration into your WordPress, including HTML. = Do I have to change my DNS settings? = No. Your website will still be served from your IP, traffic will be redirected invisibly to the user. = How much will Speed Kit cost for me? = The basic package of Speed Kit is always free for you. No bank details are required! If your site has more traffic, you can activate a [pay-as-you-go plan](https://www.baqend.com/pricing_speedkit.html "Speed Kit Pricing") that scales with your site. You can always set a limit which may not be exceeded. If your WordPress’s traffic overruns this limit, Speed Kit simply stops handling your requests and they are executed by your backend again - your site remains online all the time without your users noticing anything. == Installation == 1. Log into your WordPress website. 2. On the left menu, hover over “Plugins” and then click on “Add New”. 3. In the Search Plugins box, type in “Speed Kit” and press the Enter key. 4. You will see a list of search results which should include the Speed Kit plugin. Click on the “Install Now” button to install the plugin. 5. After installing the plugin you will be prompted to activate it. Click on the “Activate Plugin” link. 6. The Speed Kit plugin will now open and guide you through setup. == Screenshots == 1. The Speed Kit landingpage. You can see your used traffic and quickly revalidate your website. 2. The Speed Kit settings tab. Here you can set a white- and blacklist to configure which pages should be handled by Speed Kit. 3. In case you get lost, the Speed Kit help contains information on how to use this plugin. == Changelog == = v1.7.2 (2018-6-8) = Bug Fixes * Revert the speed-kit-sw.js back to the root folder = v1.7.1 (2018-6-5) = Changes * Add home URL, wp-content, and wp-includes/js to whitelist * Add wp-json and login to blacklist * Send Service Worker with PHP under "/speed-kit-sw.js" Removes * Remove site URL from whitelist = v1.7.0 (2018-5-29) = Changes * Rename plugin from “Baqend” to “Speed Kit” * Rename “Speed Kit” tab to “Settings” * Rename menu item from “Baqend” to “Speed Kit” * Update help text Removes * Remove Hosting feature * Remove manual installation instructions Features * Update dependencies * Add Measure Performance widget on getting started * Update plugin description * Add FAQs to the README * Remove hosting settings * Add single mail registration * Test up to WordPress 4.9.6 Bug Fixes * Fix showing wrong username in account tab * Wrap WooCommerce blacklist pathnames in regex * Prevent the front page from being blacklisted by WooCommerce = v1.6.3 (2018-5-16) = Bug Fixes * Add terms of service to registration form * Remove automatic registration on first start = v1.6.2 (2018-5-8) = Bug Fixes * Fix layout of account form * Fix log out button bug = v1.6.1 (2018-5-2) = Bug Fixes * Fix bug while updating a widget = v1.6.0 (2018-4-24) = Features * Make revalidation more prominent * Add dashboard widget * Change design of Speed Kit config section * Add update widgets action to trigger revalidation * Add additional actions to trigger revalidation * Extend default whitelist with common CDNs * Add new cookies to blacklist Bug Fixes * Be more robust in finding the Speed Kit config entry = v1.5.1 (2018-4-3) = Features * Display error messages if Speed Kit update fail * Increase Speed Kit update frequency Bug Fixes * Fix pathname generation for WooCommerce * Fix Speed Kit file updates * Hide hosting on Getting Started page = v1.5.0 (2018-3-21) = Features * Add French, German (Switzerland), and German (formal) translation * Automatically enable Speed Kit on first activation * Automatically login user on first activation * Redirect to “Getting Started” if not logged in * Redirect to “Getting Started” on plugin activation * Add warning if user has not enabled SSL * Add hint to the help in Speed Kit and Hosting tab * Hide hosting help if hosting is disabled Bug Fixes * Fix plugin URI * Fix typos and URLs in texts * Update help text * Fix building of admin URLs * Fix PHP compatibility check = v1.4.5 (2018-3-16) = Improvements * Improve hosting deployment speed * Reduce plugin size by 70 kB Bug Fixes * Fix filenames not found by translate.wordpress.org = v1.4.4 (2018-3-12) = Features * Translate into formal German (Switzerland) * Make German (Germany) translation informal * Update Baqend SDK Bug Fixes * Fix calculated scope URL * Fix wrong example content in Speed Kit tab = v1.4.3 (2018-3-12) = Features * Calculate the Service Worker scope by its URL = v1.4.2 (2018-3-9) = Bug Fixes * Fix paths in subdirectory installations of WordPress = v1.4.1 (2018-3-9) = Features * Reduce built ZIP size by 200 kB * Improve logging with Monolog * Improve bootstrapping performance Bug Fixes * Fix check whether login is broken * Fix bug in check_plugin_update hook = v1.4.0 (2018-3-7) = Features * Add API token support for revalidation * Revalidate HTML after updating the plugin * Add Speed Kit update cron hook Bug Fixes * Fix token revalidation code = v1.3.5 (2018-2-19) = Bug Fixes * Fix release process = v1.3.4 (2018-2-19) = Bug Fixes * Fix check for connection in frontend * Update release process = v1.3.3 (2018-2-19) = Bug Fixes * Fix resolving dependencies with plugin in subdirectory = v1.3.2 (2018-2-12) = Bug Fixes * Fix bug with "maxStaleness" in config * Fix dependencies for PHP 5.5.9 = v1.3.1 (2018-2-8) = Bug Fixes * Register new users with Speed Kit sign-up type * Move composer.json up and remove Dockerfile = v1.3.0 (2018-2-7) = Bug Fixes * Fix IDs in help view Features * Check the PHP version before activating * Automatically retrieve fetch origin interval * Tested up to WordPress 4.9.4 = v1.2.0 (2018-2-6) = Features * Tested up to WordPress 4.9.3 * Allow comments using semicolon in whitelist, blacklist, and cookie = v1.1.5 (2018-2-1) = Bug Fixes * Fix PHP 7.0 Polyfill = v1.1.4 (2018-2-1) = Improvements * Update Baqend PHP SDK = v1.1.3 (2018-2-1) = Bug Fixes * Fix release cycle for README and CHANGELOG * Add script to convert Markdown to WordPress README = v1.1.2 (2018-2-1) = Bug Fixes * Tested up to WordPress 4.9.2 = v1.1.0 (2018-1-23) = Bug Fixes * Remove third-party plugin update checker * Improve packed ZIP file * Update translations * Update meta properties Features * Add fetch_origin_interval option to Speed Kit * Improve README = v1.0.16 (2017-11-23) = Bug Fixes * Exclude some generated files from release ZIP = v1.0.15 (2017-11-23) = Bug Fixes * Fix ZIP dist dir in release = v1.0.14 (2017-11-23) = Bug Fixes * Fix ZIP command in release = v1.0.13 (2017-11-23) = Bug Fixes * Fix pushd command in release = v1.0.12 (2017-11-23) = Features * Improve released ZIP archives * Update the README = v1.0.11 (2017-11-16) = Bug Fixes * Fix bug with wish lists in WooCommerce * Fix bug which manipulates the options * Fix bug in SimplyStaticOptionsAdapter * Immunize against all exceptions in revalidation trigger * Do safely logout on exception Features * Add helpful heading in hosting * Support new snippet = v1.0.10 (2017-10-16) = Bug Fixes * Revalidate user if API access fails = v1.0.9 (2017-10-10) = Features * Advanced WooCommerce handling: automatically parse blacklist from WooCommerce shops * Update Speed Kit snippet = v1.0.8 (2017-10-5) = Features * Add hosting tab checkbox = v1.0.7 (2017-9-19) = Bug Fixes * Change ServiceWorker path to "/sw.js" Features * Show note when plugin is outdated = v1.0.6 (2017-9-18) = Bug Fixes * Update only to version 1.X.X * Update Composer hash * Remove Hosting from help * Fix content types, add track type * Refactor config builder * Fix preload ServiceWorker destination * Improve error handling in upload_archive Improvements * Improve labels of Speed Kit options * Remove Hosting from view * Replace content types with checkboxes * Add bypass cache by cookie configuration = v1.0.5 (2017-9-7) = Bug Fixes * Fix default blacklist * Fix empty lines in lists * Fix line breaks in list views * Fix ServiceWorker URL Improvements * Apply new ServiceWorker rules API * Update the snippet = v1.0.4 (2017-9-5) = Bug Fixes * Fix configuration parameters * Map dev ServiceWorker from host to client * Fix getting started design Features * Add max staleness and app domain settings = v1.0.3 (2017-8-17) = Bug Fixes * Stop calling identity on every request * Fix line breaks when showing settings * Revalidate Speed Kit when its settings are changed * Stop sending Service Worker with PHP Features * Add an example for white and blacklist in Speed Kit settings * Add statistics to getting started = v1.0.2 (2017-8-17) = Bug Fixes * Optimize frontend code * Do not send Bloom filter preload anymore * Send rel=serviceworker header * Deactivate ServiceWorker manually in Admin * Send revalidation asynchronously Other * Update README.txt metadata = v1.0.1-alpha (2017-8-16) = First Release