Skip to content

workshop14/Cove-House-Mevagissey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cove House Mevagissey

A luxury holiday cottage with stunning views over the Mevagissey harbour, village and along the beautiful Cornish coast.

http://www.covehousemevagissey.co.uk/

View over Mevagissey harbour

License

This page can be view for the purpose of openess. However all copyright is reserved to either Workshop 14 Limited or appropriate content producer.


Update

This site is being moved to a more appropriate static hosting. During this process I will incorperate several optimisations and record impact.

Initial Page Speed Insights Mobile speed: 0 Mobile user experience: 87 Desktop speed: 0

1 Switch to Divshot

Effecient build steps useful for static

mkdir www www/images
for file in images/*; do convert $file -resize 500 ./www/$file; done
./node_modules/.bin/imagemin www/images/* www/images/
mkdir www/css
cat css/foundation.css css/layout.css | ./node_modules/.bin/cleancss > www/css/main.min.css
cp CNAME index.html www/
surge www

2 Resize images

for file in images/*; do convert $file -resize 500 ./www/$file; done

Page Speed Insights Mobile speed: 51 Mobile user experience: 87 Desktop speed: 55

3 Optimise images

Compress images with imagemin install

npm i --save-dev imagemin

Page Speed Insights Mobile speed: 75 Mobile user experience: 87 Desktop speed: 86

4 Clean Css

Clean css with clean css install

npm i --save-dev clean

Page Speed Insights Mobile speed: 77 Mobile user experience: 87 Desktop speed: 87

5 Inline CSS and optimize html

For this step i simply copied css install

npm i --save-dev html-minifier

Page Speed Insights Mobile speed: 88 Mobile user experience: 87 Desktop speed: 92

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published