pwa-wp | WordPress feature plugin to bring Progressive Web Apps | Web Framework library

 by   GoogleChromeLabs PHP Version: 0.7.1 License: GPL-2.0

kandi X-RAY | pwa-wp Summary

kandi X-RAY | pwa-wp Summary

pwa-wp is a PHP library typically used in Server, Web Framework, React, Wordpress applications. pwa-wp has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

Progressive Web Apps are user experiences that have the reach of the web, and are: Reliable - Load instantly and never show the downasaur, even in uncertain network conditions. Fast - Respond quickly to user interactions with silky smooth animations and no janky scrolling. Engaging - Feel like a natural app on the device, with an immersive user experience. This new level of quality allows Progressive Web Apps to earn a place on the user's home screen. Continue reading more about Progressive Web Apps (PWA) from Google.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pwa-wp has a low active ecosystem.
              It has 575 star(s) with 89 fork(s). There are 51 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 42 open issues and 163 have been closed. On average issues are closed in 219 days. There are 13 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of pwa-wp is 0.7.1

            kandi-Quality Quality

              pwa-wp has 0 bugs and 0 code smells.

            kandi-Security Security

              pwa-wp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pwa-wp code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              pwa-wp is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              pwa-wp releases are available to install and integrate.
              pwa-wp saves you 1820 person hours of effort in developing the same functionality from scratch.
              It has 4020 lines of code, 286 functions and 79 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pwa-wp and discovered the below as its top functions. This is intended to give you an instant insight into pwa-wp implemented functionality, and help decide if they suit your requirements.
            • Normalize the configuration .
            • Serve the request .
            • Render the manifest links and meta tags .
            • Get valid file path .
            • Get list of banned route patterns .
            • Generate the script .
            • Get TinyMCE file list .
            • Determine if the given url is a local file URL .
            • Register emoji script .
            • Define the scope .
            Get all kandi verified functions for this library.

            pwa-wp Key Features

            No Key Features are available at this moment for pwa-wp.

            pwa-wp Examples and Code Snippets

            No Code Snippets are available at this moment for pwa-wp.

            Community Discussions

            QUESTION

            Is homescreen addition (A2H) ever a signal for browsers to defer PWA cache purging when storage runs low?
            Asked 2020-Mar-31 at 13:52

            When a browser runs low on storage space, I understand that it will start purging the caches of sites (PWAs) starting with the least-recently visited. Per, Using the Cache API in the service worker:

            You are responsible for implementing how your script (service worker) handles updates to the cache. All updates to items in the cache must be explicitly requested; items will not expire and must be deleted. However, if the amount of cached data exceeds the browser's storage limit, the browser will begin evicting all data associated with an origin, one origin at a time, until the storage amount goes under the limit again. See Browser storage limits and eviction criteria for more information.

            The linked eviction criteria includes a section on LRU policy:

            When the available disk space is filled up, the quota manager will start clearing out data based on an LRU policy — the least recently used origin will be deleted first, then the next one, until the browser is no longer over the limit.

            We track the "last access time" for each origin using temporary storage. Once the global limit for temporary storage is reached (more on the limit later), we try to find all currently unused origins (i.e., ones with no tabs/apps open that are keeping open datastores). These are then sorted according to "last access time." The least recently used origins are then deleted until there's enough space to fulfill the request that triggered this origin eviction.

            Now the question: do browsers use whether a site has been added to the homescreen (A2H) as a signal to defer clearing the cache storage for a given site? To me it would seem logical for a browser to prioritize purging the caches of least-visited non-A2H site caches before starting to purge the caches of sites that a user has explicitly given the special A2H designation.

            Question originally asked in the context of the PWA feature plugin for WordPress.

            ...

            ANSWER

            Answered 2020-Mar-31 at 13:52

            I'm not aware of "add to home screen" being used as a signal when determining whether or not to clear an origin's storage when a device is running out of space. I wouldn't rely on it one way or another.

            Instead, there's a web platform feature known as "Persistent Storage" that you can use to explicitly request that your origin's storage not be purged due to space constraints. That's something you could rely on with greater certainty. From that article:

            Beginning with Chrome 55, Chrome will automatically grant the persistence permission if any of the following are true:

            • The site is bookmarked (and the user has 5 or less bookmarks)
            • The site has high site engagement
            • The site has been added to home screen
            • The site has push notifications enabled

            The permission is automatically denied in all other cases. The goal is to ensure that users can rely on their favorite web apps and not find they have suddenly been cleared.

            You'd use it like:

            Source https://stackoverflow.com/questions/57044047

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pwa-wp

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            Please see the frequently asked questions on the GitHub project wiki. Don't see an answer to your question? Please search the support forum to see if someone has asked your question. Otherwise, please open a new support topic.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/GoogleChromeLabs/pwa-wp.git

          • CLI

            gh repo clone GoogleChromeLabs/pwa-wp

          • sshUrl

            git@github.com:GoogleChromeLabs/pwa-wp.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Web Framework Libraries

            angular

            by angular

            flask

            by pallets

            gin

            by gin-gonic

            php-src

            by php

            symfony

            by symfony

            Try Top Libraries by GoogleChromeLabs

            squoosh

            by GoogleChromeLabsTypeScript

            ndb

            by GoogleChromeLabsJavaScript

            quicklink

            by GoogleChromeLabsJavaScript

            comlink

            by GoogleChromeLabsTypeScript

            carlo

            by GoogleChromeLabsJavaScript