TK Study

Software Engineering › Key terms › Y12 Programming for the Web › Caching

Caching

Term Y12 Programming for the Web

Definition

Storing copies of data or files locally or on a server so they do not have to be fetched again.

Example: Cache commonly requested weather data.

Found in: 2025 HSC marking guidelines, sample exam and familiarisation guidelines, school notes.

Where it is used in the test

Syllabus area: Y12 Programming for the Web.

Question types it can appear in

Where it has appeared in the paper

Programming for the Web (Part A, C). Part letters follow each paper’s own layout.

Related past questions

These are the questions the flashcard set links to this term. Open each one and compare your answer with its marking criteria.

Study links

How to use it in an answer

A model sentence

General advice, built from the definition and example above

“Storing copies of data or files locally or on a server so they do not have to be fetched again.” Then apply it: Cache commonly requested weather data.

In a short answer, give the definition in your own words first, then tie it to the situation in the question. Do not copy the example above unless it fits the scenario.

Command words used with it

From the linked past questions
  • Outline: Sketch in general terms; indicate the main features of. (2025 HSC Q16b (3 marks): Load times)
  • Explain: Relate cause and effect; make the relationship between things evident; provide why and/or how. (Familiarisation Q10 (4 marks): Load time)

Technique for the question types

What the marking guidelines and feedback say

2025 HSC Q16b (3 marks): Load times

Marker feedback: give ways to MINIMISE load times, not ways to investigate load times.

Familiarisation Q10 (4 marks): Load time

Answers could include: if image-gallery.js loads slowly, add the 'async' attribute to the tag so it loads in parallel with the rest of the page.

Worked answers from the marking guidelines

2025 HSC Q16b (3 marks): Load times (3 marks): criteria and sample answer

Criteria

3: Outlines TWO ways, other than a PWA, to minimise load time. 2: Outlines ONE way, OR identifies TWO ways. 1: Some relevant information.

Sample answer

One way would be to provide the option to select lower resolution images or text only display. Another way would be to utilise caching as this would provide high speed access to commonly requested weather data.

Open the question page

Familiarisation Q10 (4 marks): Load time (4 marks): criteria and sample answer

Criteria

4: Explains how the load time of the web page can be improved. 3: Outlines how some issues affecting load time can be resolved. 2: Identifies issues affecting load time OR outlines how to resolve ONE. 1: Some relevant information.

Sample answer

The images can be resized to 640 x 480 beforehand so that the webpage does not need to load the large 4000 x 3000 images. The multiple CSS style sheets could be converted into a single .css file, reducing the number of HTTP requests the browser needs to send. If the "image-gallery.js" JavaScript file at the top of the source code loads slowly, it can be moved to the bottom just above so that it will not block the rest of the page from loading.

Open the question page

Common mistakes

General advice
  • Use the term exactly as the syllabus words it, then link it to the scenario in the question; the 2025 feedback repeatedly rewards using the stimulus.
  • Answer the command word: outline gives main points only, explain gives a reason or cause, discuss gives both sides.

Same group in the syllabus: W3C and WAI · Client-side (front-end) programming · Server-side (back-end) programming · SQL and non-SQL databases · Web browser and developer (dev) tools · Cascading style sheets (CSS) · CSS selectors (id v class) · CSS maintenance tools · Code libraries and frameworks (front end) · Open-source software · Version control · Load times · Minification · Lazy loading

← Big dataIn Y12 Programming for the WebCascading style sheets (CSS) →