Changeset 2797672
- Timestamp:
- 10/12/2022 09:25:06 AM (3 years ago)
- Location:
- greenweb
- Files:
-
- 35 added
- 3 edited
-
tags/1.1.3 (added)
-
tags/1.1.3/LICENSE.txt (added)
-
tags/1.1.3/README.txt (added)
-
tags/1.1.3/admin (added)
-
tags/1.1.3/admin/class-greenweb-admin.php (added)
-
tags/1.1.3/admin/css (added)
-
tags/1.1.3/admin/css/greenweb-admin.css (added)
-
tags/1.1.3/admin/index.php (added)
-
tags/1.1.3/admin/js (added)
-
tags/1.1.3/admin/js/greenweb-admin.js (added)
-
tags/1.1.3/admin/partials (added)
-
tags/1.1.3/admin/partials/admin-display.php (added)
-
tags/1.1.3/greenweb_globals.php (added)
-
tags/1.1.3/includes (added)
-
tags/1.1.3/includes/class-greenweb-activator.php (added)
-
tags/1.1.3/includes/class-greenweb-deactivator.php (added)
-
tags/1.1.3/includes/class-greenweb-i18n.php (added)
-
tags/1.1.3/includes/class-greenweb-loader.php (added)
-
tags/1.1.3/includes/class-greenweb.php (added)
-
tags/1.1.3/includes/index.php (added)
-
tags/1.1.3/index.php (added)
-
tags/1.1.3/languages (added)
-
tags/1.1.3/languages/greenweb.pot (added)
-
tags/1.1.3/public (added)
-
tags/1.1.3/public/class-greenweb-public.php (added)
-
tags/1.1.3/public/css (added)
-
tags/1.1.3/public/css/greenweb-public.css (added)
-
tags/1.1.3/public/index.php (added)
-
tags/1.1.3/public/js (added)
-
tags/1.1.3/public/js/greenweb-public.js (added)
-
tags/1.1.3/public/partials (added)
-
tags/1.1.3/public/partials/greenweb-public-display.php (added)
-
tags/1.1.3/sitestream.php (added)
-
tags/1.1.3/uninstall.php (added)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/admin/class-greenweb-admin.php (modified) (3 diffs)
-
trunk/admin/partials/admin-display.php (added)
-
trunk/greenweb_globals.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
greenweb/trunk/README.txt
r2775291 r2797672 1 === Apart===1 === Sitestream === 2 2 Contributors: seenthis, rhyme sthlm 3 3 Donate link: rhymesthlm.se 4 Tags: imagestreaming, greenweb, carbon, save, apart 4 Tags: imagestreaming, greenweb, carbon, save, apart, sitestream 5 5 Requires at least: 3.0.1 6 6 Tested up to: 5.9.3 7 Stable tag: 1.1. 27 Stable tag: 1.1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 APARTreduces your site’s carbon footprint and improves user experience by reducing its image data transfer and improving image load times.11 SITESTREAM reduces your site’s carbon footprint and improves user experience by reducing its image data transfer and improving image load times. 12 12 13 13 == Description == 14 14 15 APARTreduces your site’s carbon footprint and improves user experience by reducing its image data transfer and improving image load times.15 SITESTREAM reduces your site’s carbon footprint and improves user experience by reducing its image data transfer and improving image load times. 16 16 17 17 Using our proprietary image streaming technology, we stream your content directly from our super fast and optimized, global CDN network directly to your site’s visitors. Data efficient, reliable and SEO friendly. … … 51 51 e.g. 52 52 53 1. Upload ` apart.php` to the `/wp-content/plugins/` directory53 1. Upload `sitestream.php` to the `/wp-content/plugins/` directory 54 54 1. Activate the plugin through the 'Plugins' menu in WordPress 55 1. Add the prefix provided from Apartinto the input and volia you are done! Thanks for making the internet cleaner and faster.55 1. Add the prefix provided from Sitestream into the input and volia you are done! Thanks for making the internet cleaner and faster. 56 56 57 57 == Frequently Asked Questions == 58 58 59 = Does APARTwork with CSS image backgrounds? =59 = Does SITESTREAM work with CSS image backgrounds? = 60 60 61 APARTare working on a solution for handling basic CSS image backgrounds in upcoming releases61 SITESTREAM are working on a solution for handling basic CSS image backgrounds in upcoming releases 62 62 63 = What image file types does APARTsupport for streaming? =63 = What image file types does SITESTREAM support for streaming? = 64 64 65 65 JPG and PNG. 66 66 67 = Why are my website images blurry after implementing the APARTscript? =68 When blurry images are shown this is most likely a result of prefixing images on pages where the APART script is not implemented in the head tag. Make sure that the APART script is added to every page where the APARTprefix is used.67 = Why are my website images blurry after implementing the SITESTREAM script? = 68 When blurry images are shown this is most likely a result of prefixing images on pages where the SITESTREAM script is not implemented in the head tag. Make sure that the SITESTREAM script is added to every page where the SITESTREAM prefix is used. 69 69 70 70 = Why are the images not streamed when I’m testing the website in a local development environment? = 71 APART requires the images to be publicly accessible over the internet. If not, APARTwill fallback to the original image.71 SITESTREAM requires the images to be publicly accessible over the internet. If not, SITESTREAM will fallback to the original image. 72 72 73 73 = How does the solution work? = 74 The first time an image is requested, e.g. when a visitor is access a page (or a crawler), a request for the image will be sent to the APART server. Since this is the first time the image is being requested, the image is not transcoded, so the visitor will simply be redirected to the original image source. In parallel the image will be downloaded and transcoded be APART. When transcoding of the image is completed, the following image requests will be streamed to any user visiting the site.74 The first time an image is requested, e.g. when a visitor is access a page (or a crawler), a request for the image will be sent to the SITESTREAM server. Since this is the first time the image is being requested, the image is not transcoded, so the visitor will simply be redirected to the original image source. In parallel the image will be downloaded and transcoded be SITESTREAM. When transcoding of the image is completed, the following image requests will be streamed to any user visiting the site. 75 75 76 76 … … 78 78 79 79 == Changelog == 80 81 = 1.1.2 = 82 * Name change from Apart to Sitestream 80 83 81 84 = 1.1.2 = -
greenweb/trunk/admin/class-greenweb-admin.php
r2743511 r2797672 50 50 */ 51 51 public function admin_enqueue_styles($hook) { 52 if (!strpos($hook, 'a part-admin-display.php')) {52 if (!strpos($hook, 'admin-display.php')) { 53 53 return; 54 54 } … … 63 63 */ 64 64 public function admin_enqueue_scripts($hook) { 65 if (!strpos($hook, 'a part-admin-display.php')) {65 if (!strpos($hook, 'admin-display.php')) { 66 66 return; 67 67 } … … 74 74 */ 75 75 public function set_admin_menu() { 76 add_menu_page( $this->plugin_name, greenweb_globals\pluginName, 'manage_options', greenweb_globals\rootFolder.'/admin/partials/a part-admin-display.php');76 add_menu_page( $this->plugin_name, greenweb_globals\pluginName, 'manage_options', greenweb_globals\rootFolder.'/admin/partials/admin-display.php'); 77 77 } 78 78 } -
greenweb/trunk/greenweb_globals.php
r2774846 r2797672 6 6 const latest = '/loader/latest.js'; 7 7 const optiEnd = '/t?'; 8 const pluginName = ' Apart';9 const baseName = ' apart';8 const pluginName = 'Sitestream'; 9 const baseName = 'sitestream'; 10 10 const rootFolder = 'greenweb'; 11 const version = '1.1. 2';11 const version = '1.1.3'; 12 12 13 13 class greenweb_settings{
Note: See TracChangeset
for help on using the changeset viewer.