Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to include all of our Hour of Code tutorials or did we exclude our high ticket Hour of Code tutorials on purpose?
High traffic tutorials:
mc
minecraft
flappy
starwars
starwarsblocks
frozen
hourofcode
Not so high traffic tutorials that are missing from the list:
gumball
sports
basketball
text-compression
hoc-encryption
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tanyaparker the other scripts come from a different list,
cached_scripts
. That list and this one (that I addedexpress
andpre-express
to) are combined here:(https://github.com/code-dot-org/code-dot-org/blob/staging/lib/cdo/script_config.rb#L22)
cached_scripts
comes fromCACHED_SCRIPTS_MAP
here: https://github.com/code-dot-org/code-dot-org/blob/staging/cookbooks/cdo-varnish/libraries/http_cache.rb#L19That contains all the scripts you were asking about except
text-compression
andhoc-compression
. I suspect because those are not used at high scale during HOC. Since we haven't marked those two as scale scripts in the past I think we're OK on that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good!