Currently XDEBUG_PROFILE is excluded from the last of parameters that prevent a node being cached. There can be other cases where the value of a GET parameter does not affect the content being rendered eg a tracking ID. This patch provides the ability to manipulate the GET list further.

CommentFileSizeAuthor
get_alter_performance_hacks.patch2.09 KBmarcingy

Comments

marcingy’s picture

Status: Active » Needs review
catch’s picture

This looks nifty, however I saw a core bug asking for something similar with the page cache, and I'm wondering if we could push all this logic into drupal_page_is_cacheable() too. Can't find the issue atm though.

marcingy’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.