Skip to content

Commit

Permalink
change version number
Browse files Browse the repository at this point in the history
  • Loading branch information
tbela99 committed May 18, 2020
1 parent 8923bda commit cf7c068
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change History

## 2.8.1

- fix empty service worker files #102

## 2.8.0

- Add \.ico as a supported PWA icon format #78
Expand Down
23 changes: 20 additions & 3 deletions docs/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,27 @@ If yes, when the client sends Save-Data headers, optimizations are enforced rega

### HTTP Server Timing

Send HTTP Server Timing headers. They can be viewed in the google chrome network panel. Click on the network panel -> Click on your web page -> Click on the timing tab on the right. It should be turned off on production.
ps: this helped me spot a [regression in the image processing](https://github.com/tbela99/gzip/issues/38) that has since been fixed
Use the global Joomla profiler to profile you code

![Server Timing](./images/Server-Timing.PNG)
```php
# sample code
$profiler = JProfiler::getInstance('Application');

// profile sections of your code
$profiler->mark('afterParseImages');
$body = Gzip\GZipHelper::parseCss($body, $options);

$profiler->mark('afterParseCss');
$body = Gzip\GZipHelper::parseScripts($body, $options);

$profiler->mark('afterParseScripts');
$body = Gzip\GZipHelper::parseURLs($body, $options);

$profiler->mark('afterParseURLs');
```
Open the google chrome console and navigate to the network tab. Click on your page request. Click the timing tab. You will see the result.

![Server Timing](./img/Server-Timing.PNG)

### DNS Prefetch

Expand Down
2 changes: 1 addition & 1 deletion docs/web-share-target.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Web Share Target

Web Share Target Level 2 is the web standard that allow your app to receive data shared by other apps.
Web Share Target Level 2 is the web standard that allow your pwa app to receive data shared by other apps on android/ios platforms.

![Web Share Target](./img/web-share-target.jpg)

Expand Down
2 changes: 1 addition & 1 deletion gzip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>Released under dual license LGPL v3 | MIT</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://tbela.net</authorUrl>
<version>2.8.0</version>
<version>2.8.1</version>
<description>PLG_SYSTEM_GZIP_XML_DESCRIPTION</description>
<files>
<folder>docs</folder>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gzip",
"version": "2.8.0",
"version": "2.8.1",
"scripts": {
"build": "./build.sh",
"rollup-config": "./node_modules/rollup/dist/bin/rollup ./config/rollup/rollup.js -f iife --name=rollupConfig > ./rollup.config.js",
Expand Down
2 changes: 1 addition & 1 deletion worker_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
da39a3ee5e6b4b0d3255bfef95601890afd80709
e7ad24017b85c6eae7d16c9cbf4a6f1f8f19eee3

0 comments on commit cf7c068

Please sign in to comment.