- Note: This is tied to the /wiki/spaces/TD/pages/94510343 work to increase load speeds.
- Note 2: This work has mainly been reversed with the major recruitment re-work and optimization end of 2017. Refer to /wiki/spaces/~mikeclarke/pages/202899457 for more information.
For performance reasons, certain areas have had key date sets hard coded in to the content. This reduces the load on Squiz checking and generating JSON objects representing the matrix of key date sets. Where there has been 20+ subjects we've seen up to 50% increase in load speeds (from 140 seconds on stage to ~70). On areas where there are less than 20 subjects there have been smaller yet notable performance gains.
...
http://cms.victoria.ac.nz/postgradprogrammes/programmes/bachelor-of-commerce-with-honours Status
- Update 444275 and 354999 paint layouts to include parent_qual_name for correct card display when subject is selected
Bachelor of Arts with Honours
Nov 13th benchmark (Squiz cloud): 28.90 seconds Status subtle true colour Green title BETTER
Bachelor of Arts with Honours
http://cms.victoria.ac.nz/postgradprogrammes/programmes/bachelor-of-arts-with-honours
~120sec to 48sec~ on stage
Nov 13th benchmark (Squiz cloud): 20.15 seconds http://
Status | ||||||
---|---|---|---|---|---|---|
|
~120sec to 48sec~ on stage
Master of Science by coursework and thesis
|
https://www.victoria.ac.nz/api/postgrad?q=bachelor-of-commerce-with-honours
Master of Science by coursework and thesis
http://cms.victoria.ac.nz/postgradprogrammes/programmes/master-of-science-by-coursework-and-thesis Status
170sec~ to 44sec~ on stage
Nov 13th benchmark (Squiz cloud):
Master of Fine Arts Creative Practice
http://cms.victoria.ac.nz/postgradprogrammes/programmes/master-of-fine-arts-creative-practice
Status
subtle | true |
---|---|
colour | Green |
title | Done |
Nov 13th benchmark (Squiz cloud):
Master of Arts 120
http://cms.victoria.ac.nz/postgradprogrammes/programmes/master-of-arts-120-points Status
Nathan Irwin there's not a heap that can be done here for keydates as there's no Keydates but for on the Creative Writing Subject. It loads relatively slowly on stage with the timeout increased ~40 seconds. Requirements are static already.
...
http://cms.victoria.ac.nz/postgradprogrammes/programmes/master-of-arts-180-points Status
32sec~ to 11~ seconds on stage. Keydate static content added.
Nov 13th benchmark (Squiz cloud):
Graduate Diploma in Arts
http://stage.victoria.ac.nz/explore/graduate-quals/diploma-in-arts/overview?international=truetrue
Does not load vs Would not load with dynamic blocks. Loads on stage ~120 seconds (not ideal, but the lesser or two evils!)
Nov 13th benchmark (Squiz cloud): Hits 30's time out.
Status | ||||||
---|---|---|---|---|---|---|
|
Graduate Diploma in Science
Does not load vs
Graduate Diploma in Commerce
http://stage.victoria.ac.nz/explore/graduate-quals/diploma-in-commerce/overview?international=true
Does not load vs Would not load with dynamic blocks. Loads on stage ~40 seconds
Nov 13th benchmark (Squiz cloud):
Sample
For example, take a look at the Bachelor of Commerce with Honours (363406). Look at it's web paths, then open the CMS webpath - i.e.
...
When Keydates need to be updated , you have need to back out the static content and replace it with the standard keydate block as below. You then need to preview the asset again and re-add the keydates back in.do the following:
1) Add the below code block to the parent about page, then preview in squiz to get the keydateset output (i.e. add to About under Bachelor of Arts, then preview the Bachelor of Arts folder in squiz)
2) Copy this keydateset block in to subjects / majors where needed
3) Where there is a unique start / apply date set for the subject or major that differs from the parent qual / degree, you need to add the same block of code below to the Apply page of the subject / major, preview the parent qual and copy and paste the output in.
4) Remove 3) if used
5) Remove 1 if used
6) Test
Code Block |
---|
{ "contentType" : "postgrad-apply", "content" : { "startStudying" : { "type" : "keyDatesSet", "heading" : "Start studying", "appendix" : "", "keyDatesSet" : [ %asset_parent^as_asset:asset_metadata_keyDateSet^as_asset:asset_contents^replace_keywords:empty:{asset_parent^as_asset:asset_metadata_parentProgramme^as_asset:asset_metadata_keyDateSet^as_asset:asset_contents}% {}] }, "fees" : { "contentType" : "fees", "heading" : "", "content" : "" } } } |
Related reading
Graduate qualification: Updating cards and third tab