Search found 12 matches

by eeeno
Thu Aug 08, 2013 1:41 pm
Forum: Open Development
Topic: More memory efficient handling of content
Replies: 19
Views: 11494

Re: More memory efficient handling of content

I do agree with you completely. For most small websites it mostly won't be an issue as there's not much content anyway. But it is something to keep in mind for the future. Xh pages looks like a way to go and it's easy to add that hack into it. If there'd be a database then it'd have to be sqllite or...
by eeeno
Sat Jul 20, 2013 12:05 pm
Forum: Open Development
Topic: More memory efficient handling of content
Replies: 19
Views: 11494

Re: More memory efficient handling of content

It has indeed been a long time since there was any discussion on this. I checked the roadmap. It has indeed been added to 1.7 version roadmap. I'd be happy to see it in the future versions.
Btw, is this hack now included as a separate file in any release?
by eeeno
Wed Mar 20, 2013 12:06 pm
Forum: Open Development
Topic: More memory efficient handling of content
Replies: 19
Views: 11494

Re: More memory efficient handling of content

Are these the performance improvements for rfc(), the index.php request or the complete (X)HTML document? I assume the first one; however, the improvement is quite impressive. It is not only rfc(), it is based on how quick the server running cmsimplexh is to respond after connection is estabilished...
by eeeno
Mon Mar 18, 2013 12:05 pm
Forum: Open Development
Topic: More memory efficient handling of content
Replies: 19
Views: 11494

Re: More memory efficient handling of content

I have now done some testing locally and with the modified rfc() provided by cmb, it indeed is a turbocharged version to say at least. :lol: I created dummy content with about 4.5MB data in content-file and with "the traditional way" of doing it it took approx. 68% longer to process than with the su...
by eeeno
Mon Mar 18, 2013 10:19 am
Forum: Open Development
Topic: More memory efficient handling of content
Replies: 19
Views: 11494

Re: More memory efficient handling of content

It's not like anyone would be fitting a new testament within cmsimple. :lol: But you know with html markup the site may become bigger than expected even if it didn't contain that much content. Cmsimple is flawed by "read everything" at one array design at every single request. So this enhancement ad...
by eeeno
Sun Mar 17, 2013 10:43 pm
Forum: Open Development
Topic: More memory efficient handling of content
Replies: 19
Views: 11494

Re: More memory efficient handling of content

Well then this optimization could be enabled or disabled within the settings. "Cache cms globals" default: enabled if enabled would make use of pagemap for faster processing of globals, still populating c[] with all of the content and maintaining plugin compatibility. "Optimized content retrieval" d...
by eeeno
Sun Mar 17, 2013 9:19 pm
Forum: Open Development
Topic: More memory efficient handling of content
Replies: 19
Views: 11494

Re: More memory efficient handling of content

The combination of your caching idea and pagemap is something that i was aiming at, just without the page content and it'd be more permanent and updated only when content is changed. Infact i had copied parts of the code from rfc() and all those loops indeed are unnecessary if those global variables...
by eeeno
Sun Mar 17, 2013 7:23 pm
Forum: Open Development
Topic: More memory efficient handling of content
Replies: 19
Views: 11494

Re: More memory efficient handling of content

I don't know if it is usable so i have to at least get the editing working before puting it anywhere. My idea was to have a cache file (pagemap) of those headings,urls,levels, offsets and content lengths for more efficient access to content.htm. The pagemap would be re-generated when the content is ...
by eeeno
Sat Mar 16, 2013 7:20 pm
Forum: Open Development
Topic: More memory efficient handling of content
Replies: 19
Views: 11494

More memory efficient handling of content

IMO it is relevant to discuss this matter in this section. http://www.cmsimpleforum.com/viewtopic.php?f=4&t=4275&p=34539#p34537 So basically the way cmsimple is designed, all the contents need to be accessible from a global variable. I think it's no good for use in a production environment if the si...
by eeeno
Sat Mar 16, 2013 5:42 pm
Forum: FAQ's
Topic: Max Size of Content File
Replies: 12
Views: 20275

Re: Max Size of Content File

Yes. I consider CMSIMPLEXH quite mature already and starting completely from scratch seems like such a waste of time actually. Thank you cmb for your reply. I checked your site and you seem to know all about this cms. It may not seem like a major issue right now as "it just works tm". It looks fairl...