Skip to content

Disable BOOST image caching when using Graph Zoom features #4067

Closed
@browniebraun

Description

@browniebraun

Describe the bug

First time you try to zoom into a graph within graph tree view mode
correct graph requests covering that new time window will be generated and send by jQuery.zoom, but Cacti returns cached images from Boost. This is caused by the value of presets.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Graph Tree View'

  2. Click on 'Preset' -> choose "Last Day" [SCREENSHOT_1]

  3. Scroll down to the first graph and select with your mouse a timeframe to zoom in. [SCREENSHOT_2]

  4. See that the same graphs are shown like before. [[SCREENSHOT_3] => THIS IS THE ERROR]

  5. Now "presets" are set to "Custom"

  6. [SECOND TRY] Zoom in again and graphs are returned with the selected timeframe. [SCREENSHOT_3]

Expected behavior

Timeframe of graphs should always match with the selected timeframe Zoom has calculated.

Screenshots

[SCREENSHOT_1]
image

[SCREENSHOT_2&3]
image
image

[SCREENSHOT_4]
image

Workaround

Disable image caching under Settings-> Performance

Solution

Simply updating dropdown field "presets" in Zoom does not work from my point of view. I would suggest to add something like '&no_cache=true' to the URLs Zoom generates and to force Cacti bypassing the Boost image cache whenever this option is requested.

Metadata

Metadata

Assignees

Labels

bugUndesired behaviour

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions