Bug description
Hi, I would like to ignore query strings but allow some for filtering purposes. This is my config but it doesn't seem to work on the latest version of Statamic.
'ignore_query_strings' => true,
'allowed_query_strings' => [
'audience', 'tag'
],
'disallowed_query_strings' => [
],
How to reproduce
- Enable 'Full static caching'
- Add config settings in static_caching.php
When I go to these urls:
- /blog
- /blog?audience=audience-name
There's only one static file generated for _blog.html.
But there should be a second one with _blog?audience=audience-name.html because pages with the audience query string should be cached too.
Logs
No response
Environment
Environment
Application Name: Delizio
Laravel Version: 11.31.0
PHP Version: 8.3.4
Composer Version: 1.10.27
Environment: dev
Debug Mode: ENABLED
URL: delizio.test/
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file
Statamic
Addons: 2
Sites: 4 (Nederlands, English, Français, Portuguese)
Stache Watcher: Enabled
Static Caching: full
Version: 5.38.0 PRO
Statamic Addons
aerni/advanced-seo: 2.9.3
stillat/relationships: 2.2.1
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
Bug description
Hi, I would like to ignore query strings but allow some for filtering purposes. This is my config but it doesn't seem to work on the latest version of Statamic.
How to reproduce
When I go to these urls:
There's only one static file generated for
_blog.html.But there should be a second one with
_blog?audience=audience-name.htmlbecause pages with the audience query string should be cached too.Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response