SwiftLink – Advanced Page Prefetch & Prerender Optimizer
SwiftLink is a professional PrestaShop module that dramatically improves user experience by intelligently prefetching or prerendering pages before users click on them. With advanced features like adaptive learning, network-aware mode, analytics tracking, and a modern tabbed configuration interface, SwiftLink delivers near-instant page loads and lightning-fast navigation throughout your store.
## How It Works
### Intelligent Prefetching
SwiftLink monitors user behavior and prefetches pages before they're clicked:
1. **Trigger Detection**: Based on your configuration (hover, viewport, scroll, or all links)
2. **URL Validation**: Checks blacklist, keywords, and selectors
3. **Network Check**: Validates connection speed (if network-aware mode is enabled)
4. **Adaptive Prioritization**: Ranks URLs by visit frequency (if adaptive mode is enabled)
5. **Prefetch Execution**: Downloads or prerenders the page
6. **Cache Management**: Stores prefetched content with expiration
7. **Smooth Transition**: Applies visual effects on navigation (if enabled)
8. **Analytics Tracking**: Records metrics for dashboard
### Adaptive Learning
SwiftLink 2.0 learns from user behavior:
- Tracks visit history (last 100 pages)
- Prioritizes frequently visited pages
- Adjusts prefetch queue dynamically
- Persists data to localStorage
### Network-Aware Optimization
Respects user's network conditions:
- Detects slow connections (2G, slow-2G)
- Honors Data Saver preference
- Skips prefetching on limited connections
- Reduces bandwidth usage automatically
## Performance Impact
SwiftLink is designed to be lightweight and non-blocking:
- **JavaScript Size**: ~15KB (minified)
- **Load Time Impact**: < 50ms
- **Memory Usage**: Minimal (< 5MB with full cache)
- **Network Overhead**: Configurable (controlled by max URLs and cache limits)
- PrestaShop Compatibility

- MultiShop Compatibility
- Yes
- Module version
- 2.0.1
- Category
- Speed & Performance
- Latest update
- 04 NOV 2025
### ? General Settings
- **Module Enable/Disable**: Control the module globally
- **Action Types**: Choose between prefetch (download) or prerender (full page load)
- **Multiple Trigger Types**: Hover, viewport visibility, scroll, or all links
- **Eagerness Levels**: Immediate, moderate, or conservative strategies
- **Mobile Support**: Enable/disable for mobile devices
- **User Restrictions**: Optionally enable only for logged-out users
### ? Prefetch Logic
- **Adaptive Prefetch Mode**: Intelligently prioritizes frequently visited pages based on user history
- **Idle-Time Prefetch**: Automatically prefetches when user is inactive for X seconds
- **Smart Hover Delay**: Only prefetch if hover exceeds threshold (prevents accidental triggers)
- **Scroll-Based Prefetch**: Detects and prefetches visible links during scrolli
### ? UX & Transitions
- **Multiple Transition Effects**: Fade, slide, blur, scale, or custom
- **Progress Indicator**: Visual loading bar during transitions
- **Back Navigation Boost**: Instantly shows cached pages on browser back button
- **Custom Loader HTML**: Add your own loading animations
- **Customizable Duration**: Control transition speed (recommended: 200-400ms)
### ⚡ Performance
- **Network-Aware Mode**: Automatically skips prefetching on slow connections (2G/3G) or when Data Saver is enabled
- **Advanced Cache Management**:
- Configurable cache lifetime (seconds)
- Max cache size limit (number of pages)
- Auto-clear oldest entries when full
- **Prefetch Intervals**: Control how often to refresh prefetch queue
- **Native vs Fetch API**: Choose implementation method
### ? Analytics Dashboard
- **Performance Metrics**: Real-time tracking of prefetch effectiveness
- **Total Prefetches**: Count of all prefetch operations
- **Hit Rate**: Percentage of successful prefetch hits
- **Average Time Saved**: Estimated time saved per navigation
- **Ignored URLs**: Count of filtered/blacklisted URLs
- **Data Persistence**: Analytics saved to localStorage
### ? Advanced Settings
- **Debug Mode**: Console logging for troubleshooting
- **Exclude Selectors**: CSS selectors to prevent prefetching
- **Excluded Keywords**: URL keywords to filter out
- **Blacklist URLs**: URL patterns to never prefetch
- **Fallback Behavior**: Handle unsupported browsers gracefully
- **Script Position**: Inject in header or footer
1. Download the module ZIP file
2. Go to **Modules > Module Manager** in your PrestaShop back office
3. Click **Upload a Module** and select the ZIP file
4. Click **Configure** after installation
5. Adjust settings to match your store's needs
6. Save and test on your front office
### Version 2.0.0 (November 2025)
**Major Update:**
- ✨ **New**: Tabbed admin interface with 6 organized sections
- ✨ **New**: Adaptive prefetch mode with visit history tracking
- ✨ **New**: Idle-time prefetch (triggers when user inactive)
- ✨ **New**: Smart hover delay (threshold-based)
- ✨ **New**: Scroll-based prefetch
- ✨ **New**: Network-aware mode (respects slow connections & Data Saver)
- ✨ **New**: Analytics dashboard with performance metrics
- ✨ **New**: Advanced cache management (lifetime, size limits, auto-clear)
- ✨ **New**: Progress indicator for transitions
- ✨ **New**: Back navigation boost (instant back button)
- ✨ **New**: Blur transition effect
- ✨ **New**: Scale transition effect
- ✨ **New**: Module enable/disable toggle
- ? **Improved**: Cache system with expiration and hit tracking
- ? **Improved**: URL prioritization algorithm
- ? **Improved**: Memory management
- ? **Improved**: Code organization and modularity
- ? **Updated**: Complete documentation overhaul
### Version 1.1.0 (September 2025)
- ✨ **New**: Page transition effects (fade, slide, custom)
- ✨ **New**: Transition duration configuration
- ✨ **New**: Custom loader HTML support
- ? **Improved**: Navigation smoothness
### Version 1.0.0 (August 2025)
- ? Initial release
- ⚡ Core prefetch/prerender functionality
- ? Multiple trigger types
- ⚙️ 15 configuration options
- ? Mobile support
- ? Multi-store compatibility