Coder Social home page Coder Social logo

figuren-theater / ft-performance Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 265 KB

Fast websites are more accessible, more sustainable and are giving a better UX. This is the code which accelerates figuren.theater and its WordPress Multisite Network.

Home Page: https://figuren.theater/

License: GNU General Public License v3.0

PHP 100.00%
caching performance pre-loading wordpress pre-fetching

ft-performance's Introduction


figuren.theater Logo

figuren.theater | Performance

Fast websites are more accessible, more sustainable and are giving a better UX. This is the code which accelerates figuren.theater and its WordPress Multisite Network.


Read our blog

See the network in actionJoin the networkCreate your own network

About

  • list closed tracking-issues or docs files here
  • Do you have any ideas ?

Background & Motivation

...

Install

  1. Install via command line
    composer require figuren-theater/ft-performance

Usage

API

Figuren_Theater::API\get_...()

Plugins included

This package contains the following plugins. Thoose are completely managed by code and lack of their typical UI.

Built with & uses

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Versioning

We use Semantic Versioning for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GPL-3.0-or-later, see the LICENSE file for details

Acknowledgments

ft-performance's People

Contributors

carstingaxion avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ft-performance's Issues

Performance

Stories

  1. 0 of 1
    PART Story tracking issue

Plugins

  1. 0 of 1
    PART Plugin tracking issue

Establish quality standards

Repository Standards

Remove spaghetti-dependency to f.t/ft-theming

function set_colors( array $manifest ) : array {
	$relevant_colors = Themed_Login\ft_get_relevant_colors();

	$manifest['background_color'] = $relevant_colors['ft_accent'];
	$manifest['theme_color']      = $relevant_colors['ft_accent'];

	return $manifest;
}

* Provide app colors for background and theme.
*
* Overriding the (default) manifest json.
*
* @param array<string, mixed> $manifest Data of the manifest, to send in the REST API response.
*
* @return array<string, mixed> $manifest Data of the manifest, to send in the REST API response.
*/
function set_colors( array $manifest ) : array {
$relevant_colors = Themed_Login\ft_get_relevant_colors();
$manifest['background_color'] = $relevant_colors['ft_accent'];
$manifest['theme_color'] = $relevant_colors['ft_accent'];
return $manifest;
}
/**
* Provide app defaults for OS integration and UI.

Update ft-package

everything starts with develop

Re-Enable locale storage for PWA screenshots (privacy)

	// $new_name = 'pwa-'.$new_name.'.jpeg';

	// $dir = $this->set_screenshots_dir_path(); // !
	// $new_file = $dir.'/'.$new_name;

	// already cached ?
	// DISABLED,
	// because it's nothing saved
	// to pick up here
	// if (
	// file_exists($new_file)
	// &&
	// file not older than 7 days
	// ! ( time() - filemtime($new_file) > 7 * 24 * 3600 )
	// file not older than 60 seconds // DEBUG
	// ! ( time() - filemtime($new_file) > 60 )
	// )
	// return $this->set_screenshots_dir_url() . $new_name; //!

Old stuff of

// $new_name = 'pwa-'.$new_name.'.jpeg';

Caching

Tasks

  1. 0 of 1
    PART Plugin tracking issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.