zenstruck / redirect-bundle

Store redirects for your site and keeps statistics on redirects and 404 errors.
MIT License
24 stars 8 forks source link

4.x ideas #41

Open kbond opened 9 months ago

kbond commented 9 months ago
tacman commented 2 months ago

Expand the idea of this bundle to include not just redirects and Not Found, but also "found" pages/entities/calls.

I've been using https://github.com/tchoulom/ViewCounterBundle to track page visits, but it's really more than page visits, because sometimes I need to track certain types of JSON calls (e.g. fetch this data from api-platform and reload it via javascript is a "page view"). That bundle needs to handle it's tracking via dispatching a message, currently the view count slows down the site by updating the database in the page handler.

It might be outside the scope of this bundle, but since this is the "ideas" thread, I thought I'd post it.