juek / CustomSections

Developer plugin for rapid prototyping of custom section types in Typesetter CMS
GNU General Public License v2.0
3 stars 7 forks source link

Loading static content when not logged-in? #2

Closed juek closed 7 years ago

juek commented 7 years ago

I just wonder if we should improve overall performance if we would save static section content to be loaded when logged off and only use the value processing pipeline when logged in?

juek commented 7 years ago

Hmm.... yes, just implemented :)

a2exfr commented 7 years ago

Value processing speed seems to be allright, but Im not shure about auto New sections how it affect perfomance

juek commented 7 years ago

about auto New sections how it affect perfomance

I was also thinking about that. SectionTypes() gets called several times. I'd guess PHP (edit: or rather the OS itself) does some very efficient caching here because I can't see a remarkable impact yet. But it's not exactly beautiful this way :)

juek commented 7 years ago

I would say, let's leave it as it is for now and see what the future will bring ;)

a2exfr commented 7 years ago

I would say, let's leave it as it is for now and see what the future will bring ;)

Ok, cause auto adding new sections is quite comfortabl

juek commented 7 years ago

I already have an idea. 5 mins...

juek commented 7 years ago

Ok, it was 15 min. Just commited

(of course it should read 'file')