View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000653 | Composr | core | public | 2012-07-02 17:14 | 2015-01-03 20:11 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Severity | Feature-request | ||||
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Fixed in Version | |||||
Summary | 0000653: Self-learning cache, and cache directory refactoring | ||||
Description | Have a self-learning cache for: - language information loading (we already have this -- so actually the code for that will get re-used at a higher level to handle all of this) - config option loading - permission loading - theme image loading - what blocks are needed - what Comcode pages (pages and panels) are needed and their meta-data - zone information loading - [and anything else we can see that is relatively non-volatile yet frequently accessed as independent units.] - what Javascript will be needed for <head> - what CSS will be needed for <head> This should be a nice optimisation -- it'll greatly reduce the database load, in terms of query volume and size. Alter the directory structure a bit so that we have: - (root) - caches - lang - persistent - self_learning - guest_pages (currently we're fudging things a bit by storing unrelated stuff under lang_cached/persistent_cache, so lets get the dir structure accurate with all this) | ||||
Additional Information | Success metrics (not guaranteed, but nice targets to check to after work is done, to avoid stopping short): - Hardly any queries on normal Comcode page rendering -- only ones that there are are large ones where every returned row is needed - Minimal content-based queries on root download category rendering (with some test downloads and categories) | ||||
Tags | Type: Performance | ||||
Time estimation (hours) | 16 | ||||
Sponsorship open | |||||
parent of | 0000652 | resolved | Chris Graham | Refactor cache clearing APIs |
related to | 0000657 | resolved | Chris Graham | Cut-down the Tempcode preprocessing step |
related to | 0000112 | resolved | Chris Graham | Promote hidden options |
related to | 0000094 | resolved | Chris Graham | 'max' options |