Skip to content

Laravel 13 Caching Restrictions #208

@mikebronner

Description

@mikebronner

Hi @mikebronner!

Do I read it properly that you serialize and unserialize whole classes in the cache?

Laravel 13 says it's not recommended and if used, the class must be added to exceptions:
https://laravel.com/docs/13.x/upgrade#cache-serializable_classes-configuration

If this is indeed the case, maybe it would be good not to serialize the whole classes, but just to save the cached data as json/array?

Originally posted by @boryn in #207 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions