Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Release v0.22.0 #823

Closed
johanjanssens opened this issue Nov 23, 2021 · 0 comments
Closed

Release v0.22.0 #823

johanjanssens opened this issue Nov 23, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@johanjanssens
Copy link
Member

johanjanssens commented Nov 23, 2021

Features

1. Responsive image support #812

Implemented responsive image support through a new image template filter which transforms a standard html <img> element to a responsive image element. The template filter offers following features:

  • Generation of responsive img markup
  • Smart responsive breakpoint calculation
  • Lazy image loading
  • Preloading images
  • Low Quality Image placeholder (LQI)
  • Automatic Image Optimisation
  • Adapts to users device capabilities and preferences

To use the image filter simple add the filter to your page or layout:

---
@layout: template://pages/document.html
@process:
    filters:
        - image
---

Note: This feature doesn't implement the actual image optimisation, it only transforms the image element (when the page is generated) and injects the necessary scripts, headers etc. Image optimisation is provided by using Joomlatools Server or can be provided by any other external service.

2. Video player #816

Implemented video player support through a new video template filter which transforms a standard html <video> element to a full fledged video player. The template filter makes use of the popular https://plyr.io video player. The template filter offers following features:

  • HTML5 video player
  • Lazy video loading
  • Poster image support
  • Adapts to users device capabilities and preferences

To use the image filter simple add the filter to your page or layout:

---
@layout: template://pages/document.html
@process:
    filters:
        - video
---

Note: This feature doesn't implement the actual video streaming, it only transforms the video element (when the page is generated) and injects the necessary scripts, headers etc. Video streaming is provided by using Joomlatools Server or can be provided by any other external service.

3. Asset versioning and cache busting #814

Added an asset versioning filter for theme:// and media:// assets. The filter will calculate a content based version hash and add it to the asset url as version=[hash]. To use it simply include the filter in a page or layout as follows:

---
@layout: template://pages/document.html
@process:
    filters:
        - version
---

Breaking

This release removes number of features that are now implemented by custom middleware in Joomlatools Server. To achieve this Joomlatools Server makes use of Swoole which allows to offer a more powerful and more performant solution compared to implementing these features through FastCGI.

1. Remove support for PHP built-in web server #818

Removed support for the PHP build-in web server. To make full use of Pages it's advised to use Joomlatools Server instead.

2. Remove static cache support #820

Removed the static cache support. The implementation has been replaced by the cache middleware in Joomlatools Server which offers the same performance benefits without the need to store an additional cache and setup Apache rewrite rules.

Fixes

@johanjanssens johanjanssens self-assigned this Nov 23, 2021
@johanjanssens johanjanssens mentioned this issue Nov 23, 2021
62 tasks
johanjanssens added a commit that referenced this issue Nov 23, 2021
johanjanssens added a commit that referenced this issue Nov 23, 2021
@johanjanssens johanjanssens added this to the v0.22.0 milestone Nov 23, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant