SymfonyのAnnotationキャッシュについて調べてみた

80b7d87c10fcdb6a0cba4f8b69e933bc?s=47 polidog
August 27, 2017

 SymfonyのAnnotationキャッシュについて調べてみた

80b7d87c10fcdb6a0cba4f8b69e933bc?s=128

polidog

August 27, 2017
Tweet

Transcript

  1. SymfonyͷAnnotation Ωϟογϡʹ͍ͭͯௐ ΂ͯΈͨ @polidog Symfony Meetup #18

  2. ࣗݾ঺հ • @polidog • tavii.com Inc. • SymfonyͰwebΞϓϦ࡞ͬͯ·͢ • ࠷ۙ͸Goͱ͔৮͍ͬͯ·͢

  3. None
  4. ࠓճ͸AnnotationΩϟογϡ ʹ͍ͭͯௐ΂ͯΈ·ͨ͠

  5. ௐࠪ؀ڥ

  6. None
  7. Annotation

  8. None
  9. RouterCacheWarmer͔Β୳ ͯ͠ΈΔ

  10. None
  11. AnnotationClassLoader https://git.io/v5Irb

  12. CachedReader https://git.io/v5Iok

  13. None
  14. ChainAdapter https://git.io/v5IoP

  15. https://github.com/ symfony/symfony/pull/ 18715

  16. AnnotationΩϟογϡ • CacheίϯϙʔωϯτΛར༻ͯ͠Ωϟογϡ ͞ΕΔ • σϑΥϧτͰ͸Apcu͔FileʹΩϟογϡ͞Ε Δ

  17. apc.enable_cli = 1

  18. ͕͍ͪ·͢Ͷ

  19. PhpArrayAdapter

  20. OPCacheΛ༗ޮʹ͢Δͱ

  21. None
  22. https://medium.com/ @ScullWM/symfony-3-2- php-array-adapter- fc7c4ea0e839

  23. σϑΥϧτͰͲ͏͍͏ύλʔ ϯ͕Ωϟογϡ͞ΕΔͷ͔ʁ

  24. σϑΥϧτͰΩϟογϡ͞ΕΔ Ξϊςʔγϣϯ • Controller • Entity https://git.io/v5tgE

  25. ଞͷσΟϨΫτϦΛ௥Ճ͢Δ ʹ͸ʁ

  26. None
  27. https://symfony.com/doc/ current/bundles/ extension.html#adding- classes-to-compile

  28. ͓͠·͍ɻ