View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000020 | DefKey | General | public | 2019-08-08 12:02 | 2020-01-24 15:42 |
Reporter | zeynel | Assigned To | zeynel | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Summary | 0000020: Cookieless requests with JS fetch / CSS Sprites | ||||
Description | This can be used in whatmeanskey page, which requests many icons. Half working example is in top of shortcutarticle/index. | ||||
Tags | No tags attached. | ||||
|
A big sprite with lot of icons seem like better solution to me. Using JS to load a lot of images doesn't sound so "natural" compared to a 20-30KB less data benefit of it. 40 256x256 icons are 140KB but a webp sprite with 40 40x40 icon at most 35KB. All icons will be displayed instantly with a sprite. I takes less than 100ms to generate this sprite but it's better to cache result. When sprite is generated & saved, update shortcut's modified time. When serving this sprite, compare date in the sprite filename with last update time. If shortcut is newer, update the sprite.
There are about 4000 shortcuts. If average sprite size is 20KB, these files will only take 78MB of space. So it's not a waste of space definitely. |
|
This can be guide to generating inline CSS in C# |
|
On hold for now. HTTP2 makes sprites not so necessary. Anyway I almost finished this and may use it. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-08 12:02 | zeynel | New Issue | |
2019-08-08 12:02 | zeynel | Status | new => assigned |
2019-08-08 12:02 | zeynel | Assigned To | => zeynel |
2019-08-08 12:13 | zeynel | Description Updated | |
2019-08-08 12:14 | zeynel | Sticky Issue | No => Yes |
2019-08-08 13:30 | zeynel | Note Added: 0000011 | |
2019-08-08 14:22 | zeynel | Note Edited: 0000011 | |
2019-08-08 14:32 | zeynel | Note Edited: 0000011 | |
2019-08-08 14:34 | zeynel | Note Edited: 0000011 | |
2019-08-08 14:35 | zeynel | Note Edited: 0000011 | |
2019-08-08 14:36 | zeynel | Note Edited: 0000011 | |
2019-08-08 15:10 | zeynel | Note Edited: 0000011 | |
2019-08-08 15:15 | zeynel | Note Edited: 0000011 | |
2019-08-08 18:56 | zeynel | Note Added: 0000012 | |
2019-08-08 23:48 | zeynel | Note Edited: 0000011 | |
2019-08-09 00:19 | zeynel | Note Edited: 0000011 | |
2019-08-09 00:26 | zeynel | Note Edited: 0000011 | |
2019-08-10 01:59 | zeynel | Note Edited: 0000011 | |
2019-08-11 00:37 | zeynel | Note Added: 0000013 | |
2019-08-24 17:20 | zeynel | Summary | Cookieless requests with JS fetch => Cookieless requests with JS fetch / CSS Sprites |
2020-01-24 15:42 | zeynel | Sticky Issue | Yes => No |