Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1889 closed Task (fixed)

Deprecate config option serve_widget_and_data ?

Reported by: matt Owned by:
Priority: normal Milestone: Piwik 1.1
Component: Core Keywords:
Cc: Sensitive: no

Description

Should we deprecate config option serve_widget_and_data ?

; If set to 0, Flash widgets require separate HTTP requests
; (i.e., one request to load the JavaScript which instantiates Open Flash Chart; the other request is made by OFC to download the JSON data for the chart)
; If set to 1, Piwik uses a single HTTP request per Flash widget to serve both the widget and data
serve_widget_and_data = 1

I can't think of a case where this would be useful? thoughts?

Change History (4)

comment:1 Changed 3 years ago by vipsoft (robocoder)

I found it useful when checking for regressions with the Flash widgets. Maybe move it to the [Debug] section of global.ini.php (similar to disable_merged_assets)?

comment:2 Changed 3 years ago by vipsoft (robocoder)

  • Milestone changed from 1.2 - Piwik 1.2 to 1.1 - Piwik 1.1

comment:3 Changed 3 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [3488]) fixes #1889 - serve_widget_and_data now a Debug option

comment:4 Changed 3 years ago by vipsoft (robocoder)

(In [3489]) refs #1889 - rename (and invert logic) for consistency with other debug options

Note: See TracTickets for help on using tickets.