|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
kaliseo Smarty n00b
Joined: 02 Nov 2018 Posts: 1
|
Posted: Fri Nov 02, 2018 8:18 am Post subject: Smarty compiled filename on app engine |
|
|
Hi there,
I'm using smarty on google app engine with standard environnement. It means i cannot write files to disk. I'm currently using Cloud Storage for compiled folder etc, it works.
But..
The problem is the latency of the application to fetch compiled templates from Cloud Storage, wich is much longer than fetching it directly from disk. (3x20ms checking file + 3*20ms fetching files, 120ms total added to page calculation).
I searched a way to avoid using md5 hash in compiled templates files (wich seems to use dirname to be generated. dirname changes when application is uploaded to app engine), to be able to define it & send pre-compiled files in production (with compile_check to false). The parameter compiled_id just add an id before the file name (with md5 hash).
Do you know a method to specify compiled filename ? or anything corresponding to my situation ?
Thanks a lot for your help in advance ! |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|