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