Changeset 3623452
- Timestamp:
- 07/26/2026 01:07:49 PM (3 months ago)
- Location:
- speed-up-browser-caching
- Files:
-
- 6 edited
- 1 copied
-
tags/1.0.15 (copied) (copied from speed-up-browser-caching/trunk )
-
tags/1.0.15/htaccess.txt (modified) (4 diffs)
-
tags/1.0.15/readme.txt (modified) (2 diffs)
-
tags/1.0.15/speed-up-browser-caching.php (modified) (1 diff)
-
trunk/htaccess.txt (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/speed-up-browser-caching.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
speed-up-browser-caching/tags/1.0.15/htaccess.txt
r1542210 r3623452 1 # Apache Server Configs v2.14.0 | MIT License / https://github.com/h5bp/server-configs-apache2 # Copyright (c) HTML5 Boilerplate / https://github.com/h5bp/html5-boilerplate3 1 # Speed Up - Browser Caching | GPLv2 / http://wordpress.org/plugins/speed-up-browser-caching/ 2 # 3 # Basato su Apache Server Configs v2.14.0 | MIT License 4 # Copyright (c) HTML5 Boilerplate / https://github.com/h5bp/server-configs-apache 5 # 6 # Modifiche rispetto all'originale: 7 # - tipi MIME dei font aggiornati a RFC 8081 (font/ttf, font/otf, font/woff2) 8 # - javascript dichiarato come text/javascript, per RFC 9239 9 # - Cache-Control immutable sugli asset con versione nell'URL 4 10 <IfModule mod_mime.c> 5 AddType application/javascriptjs11 AddType text/javascript js 6 12 AddType audio/mp4 f4a f4b m4a 7 13 AddType audio/ogg oga ogg opus … … 14 20 AddType video/x-flv flv 15 21 AddType image/x-icon cur ico 16 AddType application/font-woffwoff17 AddType application/font-woff2woff222 AddType font/woff woff 23 AddType font/woff2 woff2 18 24 AddType application/vnd.ms-fontobject eot 19 AddType application/x-font-ttf ttc ttf 20 AddType font/opentype otf 25 AddType font/ttf ttf 26 AddType font/collection ttc 27 AddType font/otf otf 21 28 </IfModule> 22 29 <IfModule mod_mime.c> … … 37 44 AddOutputFilterByType DEFLATE "font/eot" 38 45 AddOutputFilterByType DEFLATE "font/opentype" 46 AddOutputFilterByType DEFLATE "font/ttf" 47 AddOutputFilterByType DEFLATE "font/otf" 48 AddOutputFilterByType DEFLATE "font/collection" 39 49 AddOutputFilterByType DEFLATE "image/bmp" 40 50 AddOutputFilterByType DEFLATE "image/svg+xml" … … 76 86 ExpiresByType font/woff "access plus 1 month" 77 87 ExpiresByType application/font-woff2 "access plus 1 month" 88 89 # Tipi RFC 8081, standard dal 2017. I nomi precedenti restano qui sopra: 90 # se il tipo di un file arriva da un'altra configurazione del server, deve 91 # continuare a scadere come prima. 92 ExpiresByType font/ttf "access plus 1 month" 93 ExpiresByType font/otf "access plus 1 month" 94 ExpiresByType font/collection "access plus 1 month" 95 ExpiresByType font/woff2 "access plus 1 month" 78 96 </IfModule> 79 97 <IfModule mod_headers.c> 80 98 Header unset ETag 81 99 </IfModule> 100 101 # Cache-Control: immutable dice al browser di non rivalidare nemmeno al ricarico 102 # della pagina. Applicarlo a tutto sarebbe rischioso: un file modificato senza 103 # cambiare URL resterebbe quello vecchio per un anno. 104 # 105 # Viene quindi applicato solo agli asset con "ver=" nella query string, che e' 106 # esattamente il caso di cio' che WordPress accoda: l'URL cambia quando cambia il 107 # contenuto, quindi non rivalidare non costa nulla. 108 <IfModule mod_setenvif.c> 109 SetEnvIf Query_String "(^|&)ver=" SPEEDUP_VERSIONED_ASSET 110 </IfModule> 111 112 <IfModule mod_headers.c> 113 Header set Cache-Control "public, max-age=31536000, immutable" env=SPEEDUP_VERSIONED_ASSET 114 </IfModule> 115 82 116 FileETag None -
speed-up-browser-caching/tags/1.0.15/readme.txt
r3623333 r3623452 6 6 Requires PHP: 7.0 7 7 Tested up to: 7.0 8 Stable tag: 1.0.1 48 Stable tag: 1.0.15 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 24 24 25 25 == Changelog == 26 27 = 1.0.15 = 28 * Update the font MIME types to RFC 8081 and declare JavaScript as text/javascript per RFC 9239 29 * Add Cache-Control immutable to assets carrying a version in the URL, so browsers stop revalidating them on reload 26 30 27 31 = 1.0.14 = -
speed-up-browser-caching/tags/1.0.15/speed-up-browser-caching.php
r3623333 r3623452 4 4 Plugin URI: http://wordpress.org/plugins/speed-up-browser-caching/ 5 5 Description: Help browser to cache a local copy of static files and improve page load times. 6 Version: 1.0.1 46 Version: 1.0.15 7 7 Author: Simone Nigro 8 8 Author URI: https://profiles.wordpress.org/nigrosimone -
speed-up-browser-caching/trunk/htaccess.txt
r1542210 r3623452 1 # Apache Server Configs v2.14.0 | MIT License / https://github.com/h5bp/server-configs-apache2 # Copyright (c) HTML5 Boilerplate / https://github.com/h5bp/html5-boilerplate3 1 # Speed Up - Browser Caching | GPLv2 / http://wordpress.org/plugins/speed-up-browser-caching/ 2 # 3 # Basato su Apache Server Configs v2.14.0 | MIT License 4 # Copyright (c) HTML5 Boilerplate / https://github.com/h5bp/server-configs-apache 5 # 6 # Modifiche rispetto all'originale: 7 # - tipi MIME dei font aggiornati a RFC 8081 (font/ttf, font/otf, font/woff2) 8 # - javascript dichiarato come text/javascript, per RFC 9239 9 # - Cache-Control immutable sugli asset con versione nell'URL 4 10 <IfModule mod_mime.c> 5 AddType application/javascriptjs11 AddType text/javascript js 6 12 AddType audio/mp4 f4a f4b m4a 7 13 AddType audio/ogg oga ogg opus … … 14 20 AddType video/x-flv flv 15 21 AddType image/x-icon cur ico 16 AddType application/font-woffwoff17 AddType application/font-woff2woff222 AddType font/woff woff 23 AddType font/woff2 woff2 18 24 AddType application/vnd.ms-fontobject eot 19 AddType application/x-font-ttf ttc ttf 20 AddType font/opentype otf 25 AddType font/ttf ttf 26 AddType font/collection ttc 27 AddType font/otf otf 21 28 </IfModule> 22 29 <IfModule mod_mime.c> … … 37 44 AddOutputFilterByType DEFLATE "font/eot" 38 45 AddOutputFilterByType DEFLATE "font/opentype" 46 AddOutputFilterByType DEFLATE "font/ttf" 47 AddOutputFilterByType DEFLATE "font/otf" 48 AddOutputFilterByType DEFLATE "font/collection" 39 49 AddOutputFilterByType DEFLATE "image/bmp" 40 50 AddOutputFilterByType DEFLATE "image/svg+xml" … … 76 86 ExpiresByType font/woff "access plus 1 month" 77 87 ExpiresByType application/font-woff2 "access plus 1 month" 88 89 # Tipi RFC 8081, standard dal 2017. I nomi precedenti restano qui sopra: 90 # se il tipo di un file arriva da un'altra configurazione del server, deve 91 # continuare a scadere come prima. 92 ExpiresByType font/ttf "access plus 1 month" 93 ExpiresByType font/otf "access plus 1 month" 94 ExpiresByType font/collection "access plus 1 month" 95 ExpiresByType font/woff2 "access plus 1 month" 78 96 </IfModule> 79 97 <IfModule mod_headers.c> 80 98 Header unset ETag 81 99 </IfModule> 100 101 # Cache-Control: immutable dice al browser di non rivalidare nemmeno al ricarico 102 # della pagina. Applicarlo a tutto sarebbe rischioso: un file modificato senza 103 # cambiare URL resterebbe quello vecchio per un anno. 104 # 105 # Viene quindi applicato solo agli asset con "ver=" nella query string, che e' 106 # esattamente il caso di cio' che WordPress accoda: l'URL cambia quando cambia il 107 # contenuto, quindi non rivalidare non costa nulla. 108 <IfModule mod_setenvif.c> 109 SetEnvIf Query_String "(^|&)ver=" SPEEDUP_VERSIONED_ASSET 110 </IfModule> 111 112 <IfModule mod_headers.c> 113 Header set Cache-Control "public, max-age=31536000, immutable" env=SPEEDUP_VERSIONED_ASSET 114 </IfModule> 115 82 116 FileETag None -
speed-up-browser-caching/trunk/readme.txt
r3623333 r3623452 6 6 Requires PHP: 7.0 7 7 Tested up to: 7.0 8 Stable tag: 1.0.1 48 Stable tag: 1.0.15 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 24 24 25 25 == Changelog == 26 27 = 1.0.15 = 28 * Update the font MIME types to RFC 8081 and declare JavaScript as text/javascript per RFC 9239 29 * Add Cache-Control immutable to assets carrying a version in the URL, so browsers stop revalidating them on reload 26 30 27 31 = 1.0.14 = -
speed-up-browser-caching/trunk/speed-up-browser-caching.php
r3623333 r3623452 4 4 Plugin URI: http://wordpress.org/plugins/speed-up-browser-caching/ 5 5 Description: Help browser to cache a local copy of static files and improve page load times. 6 Version: 1.0.1 46 Version: 1.0.15 7 7 Author: Simone Nigro 8 8 Author URI: https://profiles.wordpress.org/nigrosimone
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)