Skip to:
Content

BuddyPress.org

Changes between Version 2 and Version 3 of Ticket #6921, comment 8


Ignore:
Timestamp:
03/25/2018 05:53:24 PM (3 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6921, comment 8

    v2 v3  
    3333> For best performance, you should only use 'compile on demand' pattern when you are in development stage. Before you go to production, you can LightnCandy::compile() on all your templates, save all generated PHP codes, and deploy these generated files (You may need to maintain a build process for this) . DO NOT COMPILE ON PRODUCTION , it also a best practice for security. Adding cache for 'compile on demand' is not the best solution. If you want to build some library or framework based on LightnCandy, think about this scenario.
    3434
    35 So... if we were to use LightnCandy, we wouldn't be using best practices here.
     35So... if we were to use LightnCandy as per our current patches, we wouldn't be using best practices here.