Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Query string busting cache

Started by Muut Archive 10 years ago · 2 replies · 411 views
10 years ago

I'm passing a query string to my grav site such as:
mygravsite.com/mylandingpage?ID=123
The ID does not affect the page render - it is for a javascript plugin to construct outbound links.
The presence of the querystring appears to be busting the cache causing a painfully slow page load time.
Is there a way to set the settings to ignore the querystring so that the cached mygravsite.com/mylandingpage is rendered quickly from cache while still retaining the query string for the plugin to parse the ID?

10 years ago

They query string should not be busting the cache. Doesn't in my testing. My test pages load the same if i have a query string of ?ID=123 or none at all. Are you sure the load times are ok without the query string?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1357 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2955 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago