{"id":20789105,"url":"https://github.com/wnetking/classic-theme-audits","last_synced_at":"2025-05-05T18:45:14.743Z","repository":{"id":79477887,"uuid":"112112300","full_name":"wnetking/classic-theme-audits","owner":"wnetking","description":"Work on performance prestashop 1.7 classic theme, use chrome dev tools audit. Experement with implement PWA.","archived":false,"fork":false,"pushed_at":"2018-03-06T15:54:06.000Z","size":6761,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T22:51:16.407Z","etag":null,"topics":["accessibility","audit","chrome-devtools","classic-theme","e-commerce","lazy-loading","prestashop","prestashop-1-7","pwa"],"latest_commit_sha":null,"homepage":"","language":"Smarty","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wnetking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/after-first-improvement-without-cach","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-26T19:58:13.000Z","updated_at":"2020-08-14T13:41:10.000Z","dependencies_parsed_at":"2023-04-06T18:32:08.768Z","dependency_job_id":null,"html_url":"https://github.com/wnetking/classic-theme-audits","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wnetking%2Fclassic-theme-audits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wnetking%2Fclassic-theme-audits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wnetking%2Fclassic-theme-audits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wnetking%2Fclassic-theme-audits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wnetking","download_url":"https://codeload.github.com/wnetking/classic-theme-audits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252555636,"owners_count":21767202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accessibility","audit","chrome-devtools","classic-theme","e-commerce","lazy-loading","prestashop","prestashop-1-7","pwa"],"created_at":"2024-11-17T15:19:38.172Z","updated_at":"2025-05-05T18:45:14.735Z","avatar_url":"https://github.com/wnetking.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"Prestashop classic theme audits.\n========\n\nWork on performance Prestashop 1.7 classic theme.\n\nDevelopment configurations\n--------\n- PHP-5.6, Apache-2.4 + Nginx-1.9\n- Prestashop v1.7.3.0\n- clasic theme\n- modules on hook `home`:\n  - image slider \n  - featured products \n  - banner\n  - specials block \n  - custom text blocks \n  - new products block\n- Performance configuration (for audit with cach): \n  - Template compilation - Recompile templates if the files have been updated\n  - Cache - yes\n  - Use cache - yes\n\nFirst Audit\n--------\n  After installation Prestashop I made audit of default classic theme.\n  I did audit in two mode : whithout anable cach, and with cach. All results you can find in folder `audit`. \n  Result after first audit:\n  \n  |  -          |     PWA     | Performance | Accessibility | Best Practices |\n  | :---------: | :---------: | :---------: | :-----------: | :------------: |\n  |  -          |     36      |      47     |       94      |        63      |\n  |  with cach  |     --      |      47     |       --      |        --      |\n  \n\nSecond Audit (first changes)\n----------\n  So, first that I implemented to inprove performance it is lazy loading images. I used [Layzr.js](http://callmecavs.com/layzr.js/).\n  Second, add defer attr to script tag. Also add `font-display: fallback` to `@font-face`. \n  Follow the advice that give me Chrome DevTools improve `Accessibilyty` to **100** (Hell yeah! 😺). Allso had good `PWA` and `Best Practices` numbers.\n  \n  |  -          |     PWA     | Performance | Accessibility | Best Practices |\n  | :---------: | :---------: | :---------: | :-----------: | :------------: |\n  |  -          |     45      |      66     |       100     |        75      |\n  |  with cach  |     --      |      68     |       --      |        --      |\n  \n  \nRoadmap\n----------\n- [x]  Defered scripts\n- [ ] Defered css\n- [x] lazy-load images\n- [ ] implement pwa\n- [x] improve accessibility\n\nContribute\n----------\n\n- [Issue Tracker](https://github.com/wnetking/classic-theme-audits/issues/)\n- [Source Code](https://github.com/wnetking/classic-theme-audits/)\n\nSupport\n-------\n\nIf you are having issues, please let me know.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwnetking%2Fclassic-theme-audits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwnetking%2Fclassic-theme-audits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwnetking%2Fclassic-theme-audits/lists"}