Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routes? #13

Open
xLink opened this issue Jun 12, 2015 · 2 comments
Open

Routes? #13

xLink opened this issue Jun 12, 2015 · 2 comments

Comments

@xLink
Copy link
Member

xLink commented Jun 12, 2015

Okay so magento has a very handy routes table where any change spawns a new row in there, so any old urls dont immediately 404, I was trying to come up with a decent way to make it performant,since magentos one is partly why its slow as hell...

Easiest way as far as I can see is to make it have a redirect to id, when a new route for that group gets added, mass update that ID, query will be done to get the current url from the db, and then another to get the route for the redirect

Thoughts?

@NoelDavies
Copy link
Member

Well if we're caching using shit like Redis, that'll speed it up ten-fold

@xLink
Copy link
Member Author

xLink commented Dec 15, 2016

might be worth checking this out https://github.com/spatie/laravel-missing-page-redirector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants