View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004384 | Composr | core | public | 2020-09-27 02:08 | 2020-09-27 02:08 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Severity | Trivial-bug | ||||
Status | resolved | Resolution | fixed | ||
Product Version | 10.0.31 | ||||
Fixed in Version | 10.0.32 | ||||
Summary | 0004384: Tempcode optimisations | ||||
Description | The downloads module's Tempcode can use a lot of data. Analysis of this has yielded a number of possible general performance optimisations. 1) Do not store deep preprocessable-symbol data as Tempcode unless it needs it 2) Skip symbol preprocessing in more cases where it is not needed (and document how this can save data) 3) Make sure very long download descriptions don't get saved into the Tempcode tree, via a generic function that may be used elsewhere if needed 4) Do not use a rating form in the Tempcode tree for explicit static-inline rating display 5) Use $ADDON_INSTALLED,authors in DOWNLOAD_BOX.tpl instead of an IF_NON_EMPTY check, as it can be optimised out at template compilation | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Fixed in git commit 7ecdd4496 (https://gitlab.com/composr-foundation/composr/commit/7ecdd4496 - link will become active once code pushed to GitLab) A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). |
|
hotfix-4384, 2020-09-27 2am.tar (8,989,696 bytes) |