Bug 1119535 - Issue with cached images in the live rendered view.
Summary: Issue with cached images in the live rendered view.
Status: NEW
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: pressgang-ccms-dev
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2014-07-15 02:50 UTC by Jared MORGAN
Modified: 2018-09-21 23:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Jared MORGAN 2014-07-15 02:50:34 UTC
I updated an image in topic 18450 with an updated image (2742) provided by a developer. When I updated the image entity, the rendered view did not update.

I copied the XML fragment from the image entity to try and refresh the topic view, but that did not make the image in the topic refresh.

It took an F5 refresh of the page to refresh the content. However, it could have been coincidental.

I tried an incognito window, which displayed the updated content immediately *before* the other normal window refreshed.

Comment 1 Lee Newson 2014-07-15 02:54:23 UTC
I suspect what has happened here is because there aren't any caching rules set and it uses the same url, the browser has cached the image and isn't updating it. As such we probably need to look at setting some caching headers on the image raw endpoint (ie no-cache or must-revalidate).

Comment 2 Lee Newson 2014-07-15 02:56:53 UTC
The browser Jared was using, was Chrome version 35.

Note You need to log in before you can comment on or make changes to this bug.