Re: strange behavior. pdf void on second load
Posted: 16 Sep 2020, 10:34
Hi Jan,
I have some difficulties to follow you cause the topic is too technical for my abilities.
Btw thanks for you replies, I will try to study it so I can better understand the problem.
I have one question, dunno if you already replied in your previous comments. First time I open a pdf it works correctly, that means that independently by the com_content article cache status, it is still able to call your script and generate the pdf at least for the first time. Since the second attempt I get the problem cause as far as I understand there is a cache uncompatibility.
Is it possible the first time the pdf is generated and your script is called for it, to wipe the cache for that file so it keeps generating the pdf?
I mean, when the first time the pdf is generated, something is added to the cache, can your script remove that something from the cache after generating it the first time? So com_content can act normally but we just remove the cache for the pdf so com_content will keep calling your script instead of using the cache cause it won't find the record in the cache?
I have some difficulties to follow you cause the topic is too technical for my abilities.
Btw thanks for you replies, I will try to study it so I can better understand the problem.
I have one question, dunno if you already replied in your previous comments. First time I open a pdf it works correctly, that means that independently by the com_content article cache status, it is still able to call your script and generate the pdf at least for the first time. Since the second attempt I get the problem cause as far as I understand there is a cache uncompatibility.
Is it possible the first time the pdf is generated and your script is called for it, to wipe the cache for that file so it keeps generating the pdf?
I mean, when the first time the pdf is generated, something is added to the cache, can your script remove that something from the cache after generating it the first time? So com_content can act normally but we just remove the cache for the pdf so com_content will keep calling your script instead of using the cache cause it won't find the record in the cache?