跳到内容

Swift PWA

v2.0.1

Navoto · 2025年12月9日 上架

Transform your WordPress site into a Progressive Web App with comprehensive security features and modern caching strategies.

正在使用
10+
评分
暂无
累计下载
603
最近更新
2026年7月7日
需要 WordPress 5.0+已测试到 6.8.13PHP 7.4+

贡献者

截图

Main plugin settings page
Main plugin settings page
File upload interface with validation
File upload interface with validation
PWA status and configuration
PWA status and configuration
Generated manifest file
Generated manifest file
Service worker registration
Service worker registration

Swift PWA is a comprehensive WordPress plugin that transforms your website into a Progressive Web App (PWA) with enterprise-grade security features.

Key Features

  • Security First: Comprehensive security fixes including file upload validation, SQL injection prevention, XSS protection, and CSRF protection
  • Modern Workbox: Uses Workbox 7.0.0 with latest security patches and caching strategies
  • Smart Caching: Intelligent caching for HTML, CSS, JS, images, and fonts
  • Cache Management: Option to clear cache manually for better control
  • Offline Support: Full offline functionality with customizable offline pages
  • App Manifest: Automatic generation of web app manifest for app-like experience
  • Service Worker: Advanced service worker with cache management
  • Admin Interface: User-friendly WordPress admin interface
  • File Upload Security: Secure file uploads with validation and size limits
  • Rate Limiting: Built-in protection against abuse
  • Access Control: Admin-only access with proper capability checks

Security Features

  • File upload validation (PNG, JPG, GIF, WebP only)
  • 2MB file size limits
  • MIME type validation
  • SQL injection prevention with prepared statements
  • XSS protection with proper output escaping
  • CSRF protection with nonce verification
  • Rate limiting on form submissions
  • Admin capability checks
  • Input sanitization and validation

PWA Features

  • Web App Manifest generation
  • Service Worker registration
  • Offline page support
  • App icons and splash screens
  • Theme and background colors
  • Display modes (standalone, fullscreen, etc.)
  • Orientation settings
  • Precache pages selection
  • Asset precaching

Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • HTTPS (required for PWA functionality)
  • File upload permissions
  • Database write permissions

Support

For support, please visit the WordPress.org support forums or create an issue on the plugin’s GitHub repository.

External Services

This plugin connects to external services to provide Progressive Web App functionality. The following services are used:

Google Workbox Library

This plugin uses Google’s Workbox library to provide service worker functionality and caching strategies.

  • What it’s used for: Workbox is a JavaScript library that provides service worker functionality, including caching strategies, precaching, and offline support. It’s essential for the PWA features of this plugin.

  • What data is sent and when: When a user visits your website, their browser automatically requests the Workbox library from Google’s servers (storage.googleapis.com). This request includes:

    • The user’s IP address (standard HTTP request)
    • User-Agent string (browser information)
    • Referrer information (your website URL)
    • Standard HTTP headers

    This data is sent automatically by the browser when loading the Workbox library, which happens when the service worker is registered on the user’s device.

  • Service provider: Google LLC

    • Terms of Service: https://policies.google.com/terms
    • Privacy Policy: https://policies.google.com/privacy
    • Workbox Documentation: https://developers.google.com/web/tools/workbox

Note: The Workbox library is loaded directly from Google’s servers. No personal data from your WordPress site is transmitted to Google. Only standard HTTP request data (IP address, browser information) is sent, which is standard for any web resource request.

Google Fonts (Optional)

If your website uses Google Fonts, the plugin’s service worker may cache these resources. This is an optional feature that only applies if you have Google Fonts on your site.

  • What it’s used for: Caching Google Fonts resources (fonts.googleapis.com and fonts.gstatic.com) for offline access and improved performance.

  • What data is sent and when: If your site uses Google Fonts, standard HTTP requests are made to Google’s servers when fonts are loaded. This includes IP address and browser information, as with any web resource.

  • Service provider: Google LLC

    • Terms of Service: https://policies.google.com/terms
    • Privacy Policy: https://policies.google.com/privacy
    • Google Fonts Privacy: https://developers.google.com/fonts/faq#what_does_using_the_google_fonts_api_mean_for_the_privacy_of_my_users

Note: Google Fonts caching is only enabled if your website already uses Google Fonts. The plugin does not add Google Fonts to your site; it only caches them if they’re already present.

Privacy Policy

This plugin does not collect, store, or transmit any personal data from your WordPress installation. All configuration data remains on your WordPress server.

However, when users visit your website, their browsers will automatically connect to Google’s servers to load the Workbox library. This is a standard web resource request and follows Google’s privacy policy. No data from your WordPress database or user accounts is transmitted to external services.

Credits

  • Workbox by Google – https://developers.google.com/web/tools/workbox
  • WordPress PWA community
  • Security researchers and contributors

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums