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.

CommentFileSizeAuthor
http_get_wrapper.patch879 bytesDavid Strauss
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

catch’s picture

Status: Needs review » Needs work

No longer applies.

Pancho’s picture

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

Moving feature requests to D7 queue.

Jaza’s picture

Version: 7.x-dev » 8.x-dev
Status: Needs work » Closed (fixed)

Is this needed? Seems not.