Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[ClassLoader] deprecate caching class loaders #7258

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

Merged
merged 1 commit into from
Dec 25, 2016

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Dec 13, 2016

Updates the documentation for symfony/symfony#20777.

@xabbuh xabbuh added this to the 3.3 milestone Dec 13, 2016
.. _autoloader: https://getcomposer.org/doc/01-basic-usage.md#autoloading
.. _XCache: http://xcache.lighttpd.net
The ``ApcClassLoader``, the ``WinCacheClassLoader`` and the ``XcacheClassLoader``
are deprecated since Symfony 3.3. Use the ``--apcu-autoloader`` option instead
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and the -o option too (which exist since a long time, and does part of the work)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't mention the -o option here because there is a pending PR to update the article about performance and we explain it there: https://github.com/symfony/symfony-docs/pull/6937/files

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but --apcu-autoloader does not replace the ApcClassLoader entirely, as it is only about caching misses in APCu.
For hits, the composer way to optimize them is through the classmap (which is faster than reaching APCu when benefiting from the PHP 5.6+ optimization)

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Status: reviewed

@xabbuh xabbuh merged commit 2e6cfca into symfony:master Dec 25, 2016
xabbuh added a commit that referenced this pull request Dec 25, 2016
This PR was merged into the master branch.

Discussion
----------

[ClassLoader] deprecate caching class loaders

Updates the documentation for symfony/symfony#20777.

Commits
-------

2e6cfca [ClassLoader] deprecate caching class loaders
@xabbuh xabbuh deleted the symfony-20777 branch December 25, 2016 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.