Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Static content

The task list, the tech notes and (if you are using it) the editor’s source code zip file are all explicitly published: that is, you need to generate them on the server. Once you’ve done that, they don’t change until you generate them again.

This is for efficiency, but it can catch you out if you make any changes after you’ve published them. Remember to re-publish static content if you change any config.

In practice, the material isn’t expected to change once your project is running anyway.

Students will get 404 errors if they visit the URLs for static content before you have published it.

You’ll see a warning message if any static content has not been published. Look in the admin dashboard or the set-up summary.

If you are hosting the race server on a system with an ephemeral file system — such as Heroku — static content does not persist across restarts. You can remedy this by setting the config setting IS_STATIC_CONTENT_AUTOGENERATED in the “Server” group to Yes.


Table of contents