manifest / performance / ric-wordpress
RIC - Responsive Image Cache
A Wordpress plugin for high-performance Responsive Image Cache (RIC)
★ 1stars
24composer installs
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/phzfi/ric-wordpress/archive/refs/heads/master.zipOn Packagist as phz/ric-wordpress:
composer require phz/ric-wordpressNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
RIC Wordpress -plugin
1. Project Description
Wordpress plugin for Responsive Image Cache (RIC) https://github.com/phzfi/ric
1.1. Business Vision
Resize and cache images exactly to the view port to increase performance, in comparison to traditional caches that might provide 3 image sizes, non being optimal, and having the client to resize the image.
1.2. Task Management
1.3. Personas
1.4. Use Cases
1.5. Non-Functional Requirements
PHZ-PERF-1 Load the page in less than 1000ms.
2. Architecture
2.1. Technologies
Dev
TODO
CI
PHZ internal Jenkins
Staging
PHZ.fi staging (internal)
Production
Published on https://packagist.org/packages/phz/ric-wordpress
Used by https://phz.fi and other sites
2.2. Naming, Terms and Key Concepts
Environments and the configs should be named as
dev: docker-compose.yml (i.e. use the default names for dev env), but .env.dev
(ci): use the dev -env on CI
stg: docker-compose.stg.yml, .env.stg
prod: docker-compose.prod.yml, .env.prod
2.3. Coding Convention
Directory structure
doc/ for UML documents
etc/ for nginx, ssh etc configs. Can be cp -pr etc/ /etc to the virtual machine during provisioning and matches the os directory structure