Giter Site home page Giter Site logo

livog / core-theme Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 2.0 37 KB

Wordpress REST API theme. Good base for making your Wordpress site into a content API instead. Mostly used with third-party JS frameworks like Vue.js, React or Angular.

License: MIT License

PHP 99.43% CSS 0.57%

core-theme's People

Contributors

livog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

core-theme's Issues

Missing Docs

Hi @Livog ,

Thank you for this amazing theme. It would even be nicer if some docs on how to get started were present (for starters new to the field). And also, am curious on the SEO impacts of using the theme.

Still being maintained?

From the looks of it, this looks like a perfect starter template. I'm about to begin a new WordPress project where I want to use WP as a headless CMS.

I was wondering if this repo is still being maintained, or perhaps, if there are any other more maintained repos out there?

rest-api-cache.php

Hi! I'm currently researching headless WordPress and looking for a way to speed up the WordPress Rest API.

I stumbled upon your project in a Stackoverflow discussion and was wondering what you are planning to do with the rest-api.cache.php file. It seems like you're attempting to cache the JSON output of the REST API in static files?

I think this approach could be faster than caching the response in a transient or the object cache but it does not fix the fundamental problem which makes the WP Rest API slow which is that WordPress will always load the core, theme code and plugin code before serving your Rest API response (even if you only return the contents of a file).

I personally think that the only way to make the WP Rest API fast (+/- 50ms), is to add a caching proxy (for example an Express server which caches in Redis) between your front-end and WordPress which can be cleared from the WordPress side when content changes.

What are your thoughts on the above? Thanks in advance!

Peter

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.