Download & Extend

Add $_GET wrapper that allows caches to analyze usage

Project:Drupal core
Version:8.x-dev
Component:base system
Category:feature request
Priority:normal
Assigned:David Strauss
Status:closed (fixed)

Issue Summary

Currently, my cache forces the cached function and caller to determine in what ways the cached function depends on $_GET and restore necessary state manually. Adding and using this wrapper would allow a cache to determine -- based on before and after snapshots of usage -- what $_GET variables were used in any function's execution. With that knowledge, the cache could selectively save and restore these variables during cron runs to regenerate the content.

AttachmentSizeStatusTest resultOperations
http_get_wrapper.patch879 bytesIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» needs work

No longer applies.

#2

Version:6.x-dev» 7.x-dev

Moving feature requests to D7 queue.

#3

Version:7.x-dev» 8.x-dev
Status:needs work» closed (fixed)

Is this needed? Seems not.