shopsys icon indicating copy to clipboard operation
shopsys copied to clipboard

[framework] Cache image config

Open henzigo opened this issue 4 years ago • 1 comments

Q A
Description, reason for the PR Image config is loading from file and parsed on every request. This PR just micro-optimized it and saves parsed image config into cache. Parsing took about 2ms on every request. Now it takes only 0.2ms. I used Symfony magic to get the correct cache pool
New feature No
BC breaks No
Fixes issues ...
Have you read and signed our License Agreement for contributions? Yes

henzigo avatar Nov 16 '20 19:11 henzigo

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Nov 16 '20 20:11 sonarqubecloud[bot]