silverstripe-staticpublishqueue | This module allows you to build static HTML caches of every page (for increased security and perform | Caching library

 by   silverstripe PHP Version: 6.0.0-beta1 License: BSD-3-Clause

kandi X-RAY | silverstripe-staticpublishqueue Summary

kandi X-RAY | silverstripe-staticpublishqueue Summary

silverstripe-staticpublishqueue is a PHP library typically used in Server, Caching applications. silverstripe-staticpublishqueue has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This module allows you to build static HTML caches of every page (for increased security and performance)
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              silverstripe-staticpublishqueue has a low active ecosystem.
              It has 46 star(s) with 57 fork(s). There are 21 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 9 open issues and 62 have been closed. On average issues are closed in 925 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of silverstripe-staticpublishqueue is 6.0.0-beta1

            kandi-Quality Quality

              silverstripe-staticpublishqueue has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              silverstripe-staticpublishqueue is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              silverstripe-staticpublishqueue releases are available to install and integrate.
              silverstripe-staticpublishqueue saves you 315 person hours of effort in developing the same functionality from scratch.
              It has 757 lines of code, 53 functions and 14 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed silverstripe-staticpublishqueue and discovered the below as its top functions. This is intended to give you an instant insight into silverstripe-staticpublishqueue implemented functionality, and help decide if they suit your requirements.
            • Generate a page response
            • Add a job to the queue
            • Flushes changes to cache .
            • List of pages to update .
            • Publish a url to a given URL
            • Get published URLs
            • Occur on postPublish event .
            • Get the list of objects to delete .
            • Returns all live page URLs .
            • Generate PHP cache file .
            Get all kandi verified functions for this library.

            silverstripe-staticpublishqueue Key Features

            No Key Features are available at this moment for silverstripe-staticpublishqueue.

            silverstripe-staticpublishqueue Examples and Code Snippets

            No Code Snippets are available at this moment for silverstripe-staticpublishqueue.

            Community Discussions

            Trending Discussions on silverstripe-staticpublishqueue

            QUESTION

            Static Publishing and HTTPS
            Asked 2017-Nov-23 at 06:37

            Following this question : Static Publishing in Silverstripe on Large Sites

            We've been implementing the module from this fork (https://github.com/Focus-Flow/silverstripe-staticpublishqueue/) and it's working great locally. We have done some modification to implement our own categories page, but nothing special.

            The only issue is now when we test on our server, which use https rather than http in local, nothing is working anymore. I've been trying to change a couple of thing in the FileSystemPublisher.php file to use https rather than http, but it's not doing anything.

            An other thing, and it might be linked, when I go in the admin backend of our subsites, all the page links in the edit page are in "http" and apparently there is a https redirection on the server.

            So I guess I have two questions :

            • How to make static publishing queue work with https ?

            • How to make silverstripe understand that all of the website page should be in https and not in http, so it shows this way in the admin backend ?

            Thanks in advance.

            ...

            ANSWER

            Answered 2017-Nov-23 at 06:37

            Subsite has a method called absoluteBaseURL(), so you might try this in your Page_Controller::init():

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

            QUESTION

            Static Publishing in Silverstripe on Large Sites
            Asked 2017-Sep-20 at 08:35

            My company uses SilverStripe v3.1.21, along with the Subsite module to display and administer a number of clients' websites that sell products. This results in close to 200 subsites and a page count in the tens of thousands. The websites are very slow to load and tools such as Google's PageSpeed tell us page speeds are poor. We've already done step like combining and minimising the JS and compressing resources such as imaging, which gave some improvements, however the pages remain slow. The system was handed to us in this state and further hardware upgrades are not on the table as an option, nor are gaining additional resources for redevelopment.

            We've taken a look at the static publish module (https://github.com/silverstripe/silverstripe-staticpublisher) and found that when we generating static pages the pages become fast and get a good score on the various tools, however the process to regenerate all of these pages takes over 14 hours, which is unacceptable given these products are updated from an external source daily. We also find that the regeneration process is a memory hog, as the module builds all of the pages in memory before dumping to file, causing the process to crash. We've had to alter the process to go subsite-by-subsite just to make it run.

            We then took a look at the static publishing queue module (https://github.com/silverstripe/silverstripe-staticpublishqueue), which seemed to address our issues by having it queue pages as needed for regeneration, making it much more responsive to changes. However, the module seems to be very buggy and often crashes when generating pages.

            Has anyone had experience using these modules (or similar) with larger sites and may be able to provide any pointers or ideas on how to implement static publishing successfully?

            ...

            ANSWER

            Answered 2017-Sep-20 at 07:41

            We are using staticpublishqueue currently on several sites. The only problem we've had with it is crashing due to long builds and poor locking. Or to be precise it doesn't actually crash but keeps spawning more and more instances until the server becomes unresponsible.

            I think we have a fix for this in our fork. At least we haven't had any problems after using the modified locking. You could try installing the fork instead of the official version. If this fixes things for you maybe we should make a pull request :)

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install silverstripe-staticpublishqueue

            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

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            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/silverstripe/silverstripe-staticpublishqueue.git

          • CLI

            gh repo clone silverstripe/silverstripe-staticpublishqueue

          • sshUrl

            git@github.com:silverstripe/silverstripe-staticpublishqueue.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 Caching Libraries

            caffeine

            by ben-manes

            groupcache

            by golang

            bigcache

            by allegro

            DiskLruCache

            by JakeWharton

            HanekeSwift

            by Haneke

            Try Top Libraries by silverstripe

            silverstripe-framework

            by silverstripePHP

            silverstripe-cms

            by silverstripePHP

            doorman

            by silverstripePHP

            silverstripe-userforms

            by silverstripePHP

            silverstripe-blog

            by silverstripePHP