Releases: tbela99/gzip
Releases · tbela99/gzip
Background sync
- Implement background sync with fallback
- Build scripts using rollup instead of webpack
Web share target level 2
Implement Web Share Target api level 2
Bug fix release
- Fix file not found error
- Fix name shortening bug when it contains '00'
- Do not optimize images that match a pattern
- build service worker js using webpack
Automatic service worker reloading, tweaking images support, adding administrator service worker
- Load images using LQIP technique
- Add a service worker for administrator with no caching because admin requests were still cached by the website service worker
- Make lazyloaded images indexable using noscript tag
- force file name generation whenever the settings are changed
- Add new breakpoint 1920px for responsive images and css background images
Cache tweaking
- Customize max-age value for cached resources
- remove Expires header in favor of max-age
- Service worker cache expiration api
- Define cache expiration rule per file type
- Add missing files to the git repo
Web font preloading strategies, cdn, cors and more
- Web fonts preloading: Choose how the text is rendered while web fonts are loading by customizing font-display
- Enable CDN / cookieless domain support
- Enable CORS headers for cached resources
- The service worker is able to intercept CDN files as long as they are sent with CORS headers
- Access to the website through CDN / cookieless domain can be redirected to a custom domain
- Extend the list of file type supported by the cdn or cookieless domain
- Extend the list of file type supported by the url rewrite feature
- Choose how the text is rendered while web fonts are loading by customizing font-display
- Add a third option for service worker (disable, enable, force removal).
- Configure service worker route strategy per resource type from the Joomla administrator
- Implement the beforeinstallprompt event.
Progressive web application network strategies
Progressive web application
implementation of network strategies:
- Cache only
- Network only
- Cache first, falling back to network
- Network first, falling back to cache
- Cache, with network update
- Preloaded css web fonts
Async css load, disable service worker, link preconnect, responsive images
- remove '+' '=' and ',' from the hash generation alphabet
- Add responsive image support
- Disabling service worker will actually uninstall it
- Server Timing Header see here
- automatic preconnect < link > added, web fonts preload moved closer to < head > for faster font load
- Add < link > with < noscript > when async css loading is enabled. without javascript, stylesheet were not previously rendered
Standalone app, push notification, web app manifest, precached urls and few security stuffs
- Added push notifications using onesignal
- Added web app manifest support: The app can be installed as a standalone application (tested on google chrome/android / windows 10 / firefox android)
- Precached urls list. You can now provide a list of urls that will be precached when the service worker is installed.
- Added router api. Add routes to customize fetch event networking strategy by using either a static route or a regexp
- Rebuild service worker and the manifest whenever the plugin is installed or the settings are updated
- Override meta name=generator with custom text
- Add a secret token to prevent administrator access
- Insert scripts and css that have 'data-position="head"' attribute in head instead of the body
Progressive web application support added
First version to support progressive web application that added offline first support
- Offline resources storage (images, css, js, fonts, ...). Only resources requested via GET are stored.
- Offline webpages storage with a customizable timeout