Coder Social home page Coder Social logo

Comments (6)

philipobenito avatar philipobenito commented on July 22, 2024

Hi, the cached dispatcher is not currently implemented but it is in mind for the next feature release 2.1.0

from route.

redstrike avatar redstrike commented on July 22, 2024

(y) Hope version 2.1.0 could be released soon.

from route.

philipobenito avatar philipobenito commented on July 22, 2024

Having had a look at the simplicity of this it may be something that we can introduce in to the upcoming 2.0.0 release. I will take a look at the best way to implement it when dispatching and attach results to this issue.

from route.

wtracz avatar wtracz commented on July 22, 2024

Hi @philipobenito,

I'm happy to help with introducing this caching mechanism. Do you have some thoughts already on the approach?

Currently my proposition would be to introduce an indirection in the getDispatcher() method.

Thanks,

from route.

philipobenito avatar philipobenito commented on July 22, 2024

@wtracz It is actually a little more complex than originally thought, we cannot just enable caching via FastRoute as league/container adds extra functionality. It will have to be a completely new caching system that I'm aiming to look at after the 2.0.0 release.

from route.

philipobenito avatar philipobenito commented on July 22, 2024

This is now out of the scope of what can be done so closing for now. However, I will come back to the idea of caching or compiling a route collection at some point.

from route.

Related Issues (20)

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.