hryanjones / guess-my-word

A word guessing game, where you only know whether my word is before or after your guess. (An unofficial clone of the game previously available on simbase.org)
https://hryanjones.com/guess-my-word/
MIT License
64 stars 26 forks source link

Make load time faster #11

Closed hryanjones closed 5 years ago

hryanjones commented 5 years ago

Should be fairly easy to do this by moving the dictionary to S3 and serving it through cloudfront. This will involve:

  1. gzipping the file
  2. uploading it to S3 with the proper compressed header and cache forever header
  3. setting up a cloudfront distribution
hryanjones commented 5 years ago

https://github.com/hryanjones/guess-my-word/commit/5eae5a644ed8380aa59d34d572c21ae0cca91749