Skip to content

PPRESS_Session invalidates caches #15

@markusreis

Description

@markusreis

Setting the WP_SESSION_COOKIE in src/Classes/PPRESS_Session.php invalidates our varnish caches, which causes the page to be slowed down massively of course. There is a ppress_should_start_session filter in public function should_start_session, but this method is called before the functions.php code of the theme is evaluated, as the ProfilePress\Core\Base::get_instance(); is called immediatly on plugin-discovery, which makes the filters unaccessible from the theme-code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions