Project

General

Profile

Actions

Bug #6920

closed

Header output is using cached values

Added by krileon about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
14 December 2017
Due date:
% Done:

100%

Estimated time:

Description

Cache values (e.g. modify date, filesize, etc..) are meant for fast display purposes, but are being used for header output. This can result in a wrong content-length for example if the stored file was modified outside of CB Gallery.

https://www.joomlapolis.com/forum/153-professional-member-support/238103-cb-gallery-page-never-finishes-loading

Actions #1

Updated by krileon about 7 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Only cached filesize is unreliable since we need content-length to be 100% accurate. All others are OK if they're not 100% accurate so continue to use cached modify time, etc..

Actions #2

Updated by krileon almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF