GitHub user dosubot[bot] added a comment to the discussion: Cache warm_up logic?
<!-- Answer --> The most reliable way to find the exact extra_filters payload (and the full request context) for a chart is to use your browser’s developer tools. Open the Network tab, then load your dashboard or chart with the filters you want. Look for the POST request to `/api/v1/chart/data`—the request payload will contain all filters and parameters, even for large/complex queries. You can copy the relevant part (usually the `extra_filters` or `filters` array) and use it in your cache warmup API call to `/api/v1/chart/warm_up_cache` as a JSON string in the `extra_filters` field. This ensures your warmup matches the real dashboard context and maximizes cache hits. For advanced use, you can also extract past payloads from the `logs.json` column in the Superset database, associated with the `explore_json` action, but browser devtools is the most direct method for most users. [Reference](https://github.com/apache/superset/discussions/32765) [API details](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/charts/api.py) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/dc661086-6210-4a5e-9ff1-da4e8f5f0606?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/dc661086-6210-4a5e-9ff1-da4e8f5f0606?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/dc661086-6210-4a5e-9ff1-da4e8f5f0606?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/dc661086-6210-4a5e-9ff1-da4e8f5f0606?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/dc661086-6210-4a5e-9ff1-da4e8f5f0606?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/dc661086-6210-4a5e-9ff1-da4e8f5f0606?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/dc661086-6210-4a5e-9ff1-da4e8f5f0606?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34837) GitHub link: https://github.com/apache/superset/discussions/34837#discussioncomment-14363646 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
