Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Increase page speed #127

Open
3 tasks
duichwer opened this issue Aug 19, 2019 · 5 comments
Open
3 tasks

Increase page speed #127

duichwer opened this issue Aug 19, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@duichwer
Copy link
Contributor

The Website could be improved server side to increase page-speed.

Better page speed might result in more people who get known to okuna via search.

On _.htaccess with default parameters could be added that can be renamed to '.htaccess' on production. (similiar to TYPO3).

  • Enable Caching of js, images, fonts
  • Improve Redirection to avoid chains of redirection
  • Enable optional zipping (gzip) for assets

Example for redirection:

RewriteEngine On
	RewriteCond %{SERVER_PORT} !=443 [OR]
	RewriteCond %{HTTP_HOST} !^www\.
	RewriteRule ^(.*)$ https://www.okuna.io/$1 [R=301,L]
@jozsefsallai
Copy link
Member

The website is deployed on AWS S3 and uses AWS CloudFront as CDN, so there isn't a whole lot we can do server-side, apart from the options AWS provides to us.

We do plan to make some performance improvements on the client-side, however.

@lifenautjoe
Copy link
Member

lifenautjoe commented Aug 28, 2019 via email

@duichwer
Copy link
Contributor Author

https://aws.amazon.com/de/blogs/aws/new-gzip-compression-support-for-amazon-cloudfront/
Maybe this is helpful?

@lifenautjoe lifenautjoe added the enhancement New feature or request label Aug 29, 2019
@lifenautjoe lifenautjoe added this to To do in Openbook World via automation Aug 29, 2019
@julia-r
Copy link

julia-r commented Oct 6, 2019

Hi, I noticed that some of the image assets are huge (both in file size and image dimensions). Resizing and compressing them can also increase page speed. I can have a look into that...

@duichwer
Copy link
Contributor Author

duichwer commented Oct 6, 2019

@julia-r I'm not sure if this will help the most.
If you have experience with AWS Cloudfront Hosting it might be useful to look what can be setup to set caching rules and enabling zipping of the assets.
I have no experience with the S3 AWS Cloudfront setup, but maybe the following is helpful:
https://serverfault.com/a/770469

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Openbook World
  
To do
Development

No branches or pull requests

4 participants