| @@ -1193,9 +1193,9 @@ | ||
| 1193 | 1193 | |
| 1194 | 1194 | function store_cache($buffer) { |
| 1195 | 1195 | // Define the cache directory |
| 1196 | 1196 | $cache_directory = bwp_get_cache_dir(); |
| 1197 | - $url = $this->page_url; | |
| 1197 | + $url = bwp_canonicalize_page_url($this->page_url); | |
| 1198 | 1198 | |
| 1199 | 1199 | // Create the cache directory if it doesn't exist |
| 1200 | 1200 | if (!file_exists($cache_directory)) { |
| 1201 | 1201 | mkdir($cache_directory, 0755, true); |