Use static JS generators #164

Closed
opened 2020-01-22 00:12:19 +01:00 by nik · 7 comments
Owner

The reverse-js and the jsi18n scripts can be generated as static files at build/depøoy time. I generally think that files that never change (after installation) should not be generated live.

However, this would require two extra manage.py calls on installation.

Server-side caching would be another option to save generation time, but it adds unnecessary pitfalls.

The reverse-js and the jsi18n scripts can be generated as static files at build/depøoy time. I generally think that files that never change (after installation) should not be generated live. However, this would require two extra manage.py calls on installation. Server-side caching would be another option to save generation time, but it adds unnecessary pitfalls.
Author
Owner

changed due date to January 24, 2020

changed due date to January 24, 2020
Author
Owner

removed due date

removed due date
Author
Owner

assigned to @nik

assigned to @nik
Author
Owner

Decision by dev meeting: Use static generators, but enable use of dynamic views in development (e.g. by conditionally adding routes with the same names as the static files).

Decision by dev meeting: Use static generators, but enable use of dynamic views in development (e.g. by conditionally adding routes with the same names as the static files).
Author
Owner

unassigned @nik

unassigned @nik
Author
Owner

removed milestone

removed milestone
Author
Owner

Obsoleted by #696

Obsoleted by #696
nik closed this issue 2022-07-26 13:29:24 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#164
No description provided.