Problem/Motivation

Function styleswitcher_theme_styles() does not use static cache. But it may be called multiple times per page request (if there are no styleswitcher settings for the theme).

Proposed resolution

Make use of static cache.

Comments

pingwin4eg created an issue. See original summary.

pingwin4eg’s picture

Assigned: pingwin4eg » Unassigned
Status: Active » Needs review
StatusFileSize
new3.2 KB
pingwin4eg’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev
Status: Needs review » Patch (to be ported)
pingwin4eg’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new3.29 KB

  • pingwin4eg committed c66c611 on 6.x-2.x
    Issue #2604120 by pingwin4eg: Cache statically result of...
pingwin4eg’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

pingwin4eg’s picture

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