Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
@Tonegolf71
@Space48ers
#MageTitansMCR
Worked on Magento since 1.2
Technical Director @ Space 48
Love learning and collabo...
@Tonegolf71
@Space48ers
#MageTitansMCR
Overview
• Monitoring
@Tonegolf71
@Space48ers
#MageTitansMCR
Overview
• Monitoring
• General FPC efficiency
@Tonegolf71
@Space48ers
#MageTitansMCR
Overview
• Monitoring
• General FPC efficiency
• Improvement examples (M1)
@Tonegolf71
@Space48ers
#MageTitansMCR
Overview
• Monitoring
• General FPC efficiency
• Improvement examples (M1)
• M2 FPC
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
Where to start?
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
Max Chadwick
@maxpchadwick
http://maxchadwick.xyz
Something Digital
Nomad Mage: 

h...
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
Do I have a cached
version of the page?
Load Magento and
get content for the
page a...
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 1: Opening Times
Call us today 8am - 10pm
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 1: Opening Times
• Stores opening and closing times for days of the
week
• A...
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 1: Opening Times
Call us today 8am - 10pm
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 1: Opening Times
Container Class
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 1: Opening Times
Why would you do that?
Container Class
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 1: Opening Times
How often should this change?
Call us today 8am - 10pm
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 1: Opening Times
So we need to cache it right?
Call us today 8am - 10pm
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
Container Class
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 2: MyFavourites
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 2: MyFavourites
Container Class
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 2: MyFavourites
Why would you do that?
Container Class
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 2: MyFavourites
Am I a
favourite?
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 2: MyFavourites
Am I a
favourite?
Am I a
favourite?
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 2: MyFavourites
Am I a
favourite?
Am I a
favourite?
Am I a
favourite?
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 2: MyFavourites
Am I a
favourite?
Am I a
favourite?
Am I a
favourite?
Am I a...
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 2: MyFavourites
@Tonegolf71
@Space48ers
#MageTitansMCR
Module 2: MyFavourites
@Tonegolf71
@Space48ers
#MageTitansMCR
Result: Greatly reduced partial hits!
@Tonegolf71
@Space48ers
#MageTitansMCR
This will blow your mind…
@Tonegolf71
@Space48ers
#MageTitansMCR
Crontab from hell
@Tonegolf71
@Space48ers
#MageTitansMCR
Crontab from hell
Why would you do that?
@Tonegolf71
@Space48ers
#MageTitansMCR
To be fair…
• Easy for me to question “Why?”
@Tonegolf71
@Space48ers
#MageTitansMCR
To be fair…
• Easy for me to question “Why?”
• Everyone is learning!
@Tonegolf71
@Space48ers
#MageTitansMCR
To be fair…
• Easy for me to question “Why?”
• Everyone is learning!
• We need to e...
@Tonegolf71
@Space48ers
#MageTitansMCR
To be fair…
• Easy for me to question “Why?”
• Everyone is learning!
• We need to e...
@Tonegolf71
@Space48ers
#MageTitansMCR
M2 FPC
@Tonegolf71
@Space48ers
#MageTitansMCR
Varnish FTW
@Tonegolf71
@Space48ers
#MageTitansMCR
Still has to deal with independently
flushable content and private data
@Tonegolf71
@Space48ers
#MageTitansMCR
Shared public content… ESI
@Tonegolf71
@Space48ers
#MageTitansMCR
Private… AJAX and local storage
@Tonegolf71
@Space48ers
#MageTitansMCR
You can screw it up if you want?
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
If you use cacheable=“false" for a
block, be aware the whole page will
be excluded ...
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
@Tonegolf71
@Space48ers
#MageTitansMCR
M2 FPC Monitoring?
@Tonegolf71
@Space48ers
#MageTitansMCR
Conclusion
@Tonegolf71
@Space48ers
#MageTitansMCR
With great power…
…comes great responsibility
@Tonegolf71
@Space48ers
#MageTitansMCR
Monitor as much as is practical
@Tonegolf71
@Space48ers
#MageTitansMCR
Embrace mistakes
@Tonegolf71
@Space48ers
#MageTitansMCR
Embrace mistakes
..and share them
@Tonegolf71
@Space48ers
#MageTitansMCR
THANKS!!
@Tonegolf71
@Space48ers
#MageTitansMCR
THANKS!!
Any questions?
An Optimisation Story at Mage Titans Manchester 2016
You’ve finished this document.
Download and read it offline.
Upcoming SlideShare
Maryon_P_Strugstad_Thesis
Next
Upcoming SlideShare
Maryon_P_Strugstad_Thesis
Next
Download to read offline and view in fullscreen.

Share

An Optimisation Story at Mage Titans Manchester 2016

Download to read offline

“Can you make it faster?”, it’s a question we’ve probably all heard at some point or other. But where to focus your attention on such a task can be challenging, usually we only have limited time in which to improve the performance of a site, so quickly identifying the highest impacting bottlenecks is key.

I discuss the importance of monitoring and the role it can play in identifying performance issues. With a real world example, I discuss a common mistake I’ve come across related to the Full Page Cache efficiency and hole punching. I also highlight some key aspects that should be considered when implementing features alongside a Full Page Cache.

Related Books

Free with a 30 day trial from Scribd

See all

An Optimisation Story at Mage Titans Manchester 2016

  1. 1. @Tonegolf71 @Space48ers #MageTitansMCR Worked on Magento since 1.2 Technical Director @ Space 48 Love learning and collaborating
  2. 2. @Tonegolf71 @Space48ers #MageTitansMCR Overview • Monitoring
  3. 3. @Tonegolf71 @Space48ers #MageTitansMCR Overview • Monitoring • General FPC efficiency
  4. 4. @Tonegolf71 @Space48ers #MageTitansMCR Overview • Monitoring • General FPC efficiency • Improvement examples (M1)
  5. 5. @Tonegolf71 @Space48ers #MageTitansMCR Overview • Monitoring • General FPC efficiency • Improvement examples (M1) • M2 FPC
  6. 6. @Tonegolf71 @Space48ers #MageTitansMCR
  7. 7. @Tonegolf71 @Space48ers #MageTitansMCR
  8. 8. @Tonegolf71 @Space48ers #MageTitansMCR
  9. 9. @Tonegolf71 @Space48ers #MageTitansMCR
  10. 10. @Tonegolf71 @Space48ers #MageTitansMCR
  11. 11. @Tonegolf71 @Space48ers #MageTitansMCR
  12. 12. @Tonegolf71 @Space48ers #MageTitansMCR
  13. 13. @Tonegolf71 @Space48ers #MageTitansMCR Where to start?
  14. 14. @Tonegolf71 @Space48ers #MageTitansMCR
  15. 15. @Tonegolf71 @Space48ers #MageTitansMCR Max Chadwick @maxpchadwick http://maxchadwick.xyz Something Digital Nomad Mage: 
 https://goo.gl/3KnTO0 Mpchadwick_PageCacheHitRate : https://goo.gl/oWJZ0w
  16. 16. @Tonegolf71 @Space48ers #MageTitansMCR
  17. 17. @Tonegolf71 @Space48ers #MageTitansMCR
  18. 18. @Tonegolf71 @Space48ers #MageTitansMCR Do I have a cached version of the page? Load Magento and get content for the page and the containers, then return Do I have cached versions of all containers on the page? Load Magento and get content for containers, merge in to cached page content and return Return page and containers from cache FULL HIT PARTIAL HIT MISS YES NO YES Response Response Response NO Request
  19. 19. @Tonegolf71 @Space48ers #MageTitansMCR
  20. 20. @Tonegolf71 @Space48ers #MageTitansMCR
  21. 21. @Tonegolf71 @Space48ers #MageTitansMCR Module 1: Opening Times Call us today 8am - 10pm
  22. 22. @Tonegolf71 @Space48ers #MageTitansMCR Module 1: Opening Times • Stores opening and closing times for days of the week • A custom message is defined for each state • Custom dates can be added for holidays etc.
  23. 23. @Tonegolf71 @Space48ers #MageTitansMCR Module 1: Opening Times Call us today 8am - 10pm
  24. 24. @Tonegolf71 @Space48ers #MageTitansMCR Module 1: Opening Times Container Class
  25. 25. @Tonegolf71 @Space48ers #MageTitansMCR Module 1: Opening Times Why would you do that? Container Class
  26. 26. @Tonegolf71 @Space48ers #MageTitansMCR Module 1: Opening Times How often should this change? Call us today 8am - 10pm
  27. 27. @Tonegolf71 @Space48ers #MageTitansMCR Module 1: Opening Times So we need to cache it right? Call us today 8am - 10pm
  28. 28. @Tonegolf71 @Space48ers #MageTitansMCR
  29. 29. @Tonegolf71 @Space48ers #MageTitansMCR Container Class
  30. 30. @Tonegolf71 @Space48ers #MageTitansMCR Module 2: MyFavourites
  31. 31. @Tonegolf71 @Space48ers #MageTitansMCR Module 2: MyFavourites Container Class
  32. 32. @Tonegolf71 @Space48ers #MageTitansMCR Module 2: MyFavourites Why would you do that? Container Class
  33. 33. @Tonegolf71 @Space48ers #MageTitansMCR Module 2: MyFavourites Am I a favourite?
  34. 34. @Tonegolf71 @Space48ers #MageTitansMCR Module 2: MyFavourites Am I a favourite? Am I a favourite?
  35. 35. @Tonegolf71 @Space48ers #MageTitansMCR Module 2: MyFavourites Am I a favourite? Am I a favourite? Am I a favourite?
  36. 36. @Tonegolf71 @Space48ers #MageTitansMCR Module 2: MyFavourites Am I a favourite? Am I a favourite? Am I a favourite? Am I a favourite?
  37. 37. @Tonegolf71 @Space48ers #MageTitansMCR
  38. 38. @Tonegolf71 @Space48ers #MageTitansMCR Module 2: MyFavourites
  39. 39. @Tonegolf71 @Space48ers #MageTitansMCR Module 2: MyFavourites
  40. 40. @Tonegolf71 @Space48ers #MageTitansMCR Result: Greatly reduced partial hits!
  41. 41. @Tonegolf71 @Space48ers #MageTitansMCR This will blow your mind…
  42. 42. @Tonegolf71 @Space48ers #MageTitansMCR Crontab from hell
  43. 43. @Tonegolf71 @Space48ers #MageTitansMCR Crontab from hell Why would you do that?
  44. 44. @Tonegolf71 @Space48ers #MageTitansMCR To be fair… • Easy for me to question “Why?”
  45. 45. @Tonegolf71 @Space48ers #MageTitansMCR To be fair… • Easy for me to question “Why?” • Everyone is learning!
  46. 46. @Tonegolf71 @Space48ers #MageTitansMCR To be fair… • Easy for me to question “Why?” • Everyone is learning! • We need to embrace such experiences
  47. 47. @Tonegolf71 @Space48ers #MageTitansMCR To be fair… • Easy for me to question “Why?” • Everyone is learning! • We need to embrace such experiences • Ideally we should SHARE such experiences!!
  48. 48. @Tonegolf71 @Space48ers #MageTitansMCR M2 FPC
  49. 49. @Tonegolf71 @Space48ers #MageTitansMCR Varnish FTW
  50. 50. @Tonegolf71 @Space48ers #MageTitansMCR Still has to deal with independently flushable content and private data
  51. 51. @Tonegolf71 @Space48ers #MageTitansMCR Shared public content… ESI
  52. 52. @Tonegolf71 @Space48ers #MageTitansMCR Private… AJAX and local storage
  53. 53. @Tonegolf71 @Space48ers #MageTitansMCR You can screw it up if you want?
  54. 54. @Tonegolf71 @Space48ers #MageTitansMCR
  55. 55. @Tonegolf71 @Space48ers #MageTitansMCR If you use cacheable=“false" for a block, be aware the whole page will be excluded from FPC
  56. 56. @Tonegolf71 @Space48ers #MageTitansMCR
  57. 57. @Tonegolf71 @Space48ers #MageTitansMCR
  58. 58. @Tonegolf71 @Space48ers #MageTitansMCR M2 FPC Monitoring?
  59. 59. @Tonegolf71 @Space48ers #MageTitansMCR Conclusion
  60. 60. @Tonegolf71 @Space48ers #MageTitansMCR With great power… …comes great responsibility
  61. 61. @Tonegolf71 @Space48ers #MageTitansMCR Monitor as much as is practical
  62. 62. @Tonegolf71 @Space48ers #MageTitansMCR Embrace mistakes
  63. 63. @Tonegolf71 @Space48ers #MageTitansMCR Embrace mistakes ..and share them
  64. 64. @Tonegolf71 @Space48ers #MageTitansMCR THANKS!!
  65. 65. @Tonegolf71 @Space48ers #MageTitansMCR THANKS!! Any questions?
  • beejhuff

    Nov. 14, 2016

“Can you make it faster?”, it’s a question we’ve probably all heard at some point or other. But where to focus your attention on such a task can be challenging, usually we only have limited time in which to improve the performance of a site, so quickly identifying the highest impacting bottlenecks is key. I discuss the importance of monitoring and the role it can play in identifying performance issues. With a real world example, I discuss a common mistake I’ve come across related to the Full Page Cache efficiency and hole punching. I also highlight some key aspects that should be considered when implementing features alongside a Full Page Cache.

Views

Total views

651

On Slideshare

0

From embeds

0

Number of embeds

76

Actions

Downloads

4

Shares

0

Comments

0

Likes

1

×