Caching compatibility ​
WP Google Street View is compatible with all major WordPress caching plugins. However, aggressive caching or JavaScript optimization can sometimes interfere with the Google Maps API.
Tested compatible plugins ​
- WP Rocket
- W3 Total Cache
- LiteSpeed Cache
- WP Super Cache
- Autoptimize
- SG Optimizer
- Cloudflare APO
Common issues and fixes ​
Maps not loading after enabling cache ​
If maps stop rendering after enabling a caching plugin, the JavaScript minification or deferral feature is likely interfering with the Google Maps API script.
Fix: Exclude the Google Maps script from minification and deferral:
https://maps.googleapis.com/maps/api/jsIn WP Rocket: Settings → File Optimization → Excluded JavaScript Files.
Maps render incorrectly on cached pages ​
Clear the full page cache after making changes to your WPGSV entries. Cached HTML may contain stale data attributes.
Lazy loading conflicts ​
Some optimization plugins lazy-load iframes and scripts. Since WPGSV uses inline JavaScript (not iframes), this should not be an issue. If it is, exclude WPGSV scripts from lazy loading.