RIC Wordpress -plugin
Wordpress plugin for Responsive Image Cache (RIC) https://github.com/phzfi/ric
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.
PHZ-PERF-1 Load the page in less than 1000ms.
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
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
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
- results/ test results
- reports/ for e.g. code coverage reports
- src/ for source code ** Note! Source code should be placed under a single folder (src) that can be mounted over Docker -volume or Vagrant -shared folder inside the virtual machine so that node_modules or vendor directory are not on the shared folder. See https://wiki.phz.fi/Docker and https://wiki.phz.fi/Vagrant for further details how to circumvent the problems.
- tests/ for tests
Add here examples and hints of good ways how to code the project. Convert the silent knowledge as tacit knowledge here.
Note! PHZ Coding Convention: name this environment as dev. Note! However, please use the default files for dev env, such as docker-compose.yml (instead of docker-compose.dev.yml).
Note! PHZ Coding Convention: name this environment as stg.
Note! PHZ Coding Convention: name this environment as prod.
Add here TODO and blockers that you have found related to upgrading to newer versions. List the library/framework/service, version, and then the error message.