Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Page Cache - "Accepted Query Strings" Enhancement #380

Merged
merged 7 commits into from
Feb 13, 2017

Conversation

amiga-500
Copy link
Collaborator

@amiga-500 amiga-500 commented Feb 13, 2017

Page Cache's Accepted Query Strings box has always felt limited. Query strings are composed of a series of field-value pairs. Up to this point W3TC's Accepted Query Strings box only analyzed field names and completely ignored their associating values. It also was not as efficient as it could have been when Disk: Enhanced mode was used.

This update hopefully improves the experience by offering two new enhancements:

  • It allows the user to provide (optionally) a value, in the form: name=value. Acceptable example entries could be: utm_source=Newsletter, utm_medium=, utm_campaign

  • If Disk: Enhanced is enabled it leverages the user's htaccess (or nginx.conf) file to determine if the requesting query string URL contains only one or more acceptable query string name-value pairs. If it does then the request page proceeds to being cached or served a cached page. Prior to this, all query string URLs, regardless of the page cache disk mode used, would need to boot up the W3TC backend for processing. Performance-wise, it was not the ideal workflow.

:octocat:

@amiga-500 amiga-500 changed the title Page Cache - Accepted Query Strings Enhancement Page Cache - "Accepted Query Strings" Enhancement Feb 13, 2017
@amiga-500 amiga-500 merged commit 091cb97 into v0.9.5.x Feb 13, 2017
@amiga-500 amiga-500 deleted the query_strings_enhance branch February 13, 2017 23:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant