Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 630 Bytes

VERSIONING.md

File metadata and controls

11 lines (8 loc) · 630 Bytes

Versioning of web sources

There is possible to change version of web sources (js, css, images) when it is necessary to restore cache in clients browsers. When watch is enabled, then it automatically recompile SASS and update image URLs with new version.

How to change version?

  1. Go to package.json and modify version parameter. This parameter appears in web resources URLs when they are linked as a query parameter ?v=X.Y.Z

What resources are versioned?

  1. Compiled CSS and JS resources included in @layout.latte
  2. All URLs in css are versioned. They are modified every time when Gulp SASS task is performed.