feat: implement app icon management and caching mechanism by HynoR · Pull Request #11719 · 1Panel-dev/1Panel

@HynoR

@HynoR HynoR changed the title [draft]feat: implement app icon management and caching mechanism feat: implement app icon management and caching mechanism

Jan 26, 2026

@HynoR HynoR marked this pull request as ready for review

January 26, 2026 11:01

@HynoR

- Refactored app synchronization tasks to improve structure and clarity.
- Introduced shared context for managing app sync state and metadata.
- Updated icon handling to ensure proper content type and caching.
- Adjusted cache control settings for app icons to extend cache duration.
- Improved error handling and logging during app sync processes.

@HynoR

…eturn

- Removed the fileName return value from GetAppIcon function as it was not utilized.
- Enhanced the GetAppIcon method in BaseApi to improve clarity and maintainability.
- Ensured proper caching headers are set for app icons.

justadri pushed a commit to justadri/1Panel that referenced this pull request

Feb 13, 2026
…#11719)

* feat: implement app icon management and caching mechanism

* feat: enhance app synchronization and icon management

- Refactored app synchronization tasks to improve structure and clarity.
- Introduced shared context for managing app sync state and metadata.
- Updated icon handling to ensure proper content type and caching.
- Adjusted cache control settings for app icons to extend cache duration.
- Improved error handling and logging during app sync processes.

* refactor: streamline app icon retrieval by removing unused fileName return

- Removed the fileName return value from GetAppIcon function as it was not utilized.
- Enhanced the GetAppIcon method in BaseApi to improve clarity and maintainability.
- Ensured proper caching headers are set for app icons.