HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


A few questions about speed...

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#80188 (In Topic #16284)
Avatar

Well-settled

1.  Do you see any problems with minification of the templates, blocks, and css aside from the obvious fact that it's still a work in progress? I'd also like to consolidate the css in order to make fewer requests, and have a super quick first time load.

2.  What is the line in the header that links to ocportal and schema.org?  Can I just grab those scripts and host them myself?  I'm sure that your servers are 10,000 miles away or something crazy like that.

3.  What will I be missing out on if I use the ocportal reset theme when it comes to v.8?

4. Any other ideas for making this the snappiest system ever?

And last but not least, you have done a freaking awesome job on the new version.  I especially like the ability to raise in rank based on points.
Back to the top
 
Posted
Rating:
#80191
Avatar

Well-settled

 I found the gzip feature in the configurations and that sped me up a bit, but I also turned off the mobile rendering while I was in there and found a bug to report.  Now when I go to the my profile section it gives me a fatal error call to an undefined function  "cleanup_mobile_number in sources custom notifications.php on line 246.  I'm just going to comment that line out and see where it goes from there.
Back to the top
 
Posted
Rating:
#80310
Avatar

Do you see any problems with minification of the templates, blocks, and css aside from the obvious fact that it's still a work in progress?

ocPortal already does this.

I saw you mentioned browser profiling tools in the chat room. We actually meet tools like yslow and Google PageSpeed close to the highest levels.

I'd also like to consolidate the css in order to make fewer requests, and have a super quick first time load.

That gave me a good idea :). I have just committed a simple patch – now if the CSS or Javascript file ocPortal includes is blank, it won't be referenced in the HTML. This provides you the opportunity to move your CSS into global.css and your JS into JAVASCRIPT.tpl if you feel that stuff is so commonly used that you want it to all load at once from a single file. This keeps the modularity by default (good for most people, only loading what is needed, dividing stuff up cleanly), but gives you the chance to make optimisations specific to your site.

What is the line in the header that links to ocportal and schema.org?  Can I just grab those scripts and host them myself?  I'm sure that your servers are 10,000 miles away or something crazy like that.

DTD/schema references don't result in any HTTP downloads on the client side.

What will I be missing out on if I use the ocportal reset theme when it comes to v.8?

I'm not sure when the themes will be updated for version 8 properly to be honest. But the CSS reset theme only makes sense if you're going to fill in the blanks - it makes ocPortal incredibly ugly until new CSS is written.

I especially like the ability to raise in rank based on points.

That's always been there ;).

Now when I go to the my profile section it gives me a fatal error call to an undefined function  "cleanup_mobile_number in sources custom notifications.php on line 246.  I'm just going to comment that line out and see where it goes from there.

Ah, thanks.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#80325
Avatar

Community saint

I don't know about css and templates slowing things down.   What I notice that is somewhat annoying, is adding a replay (with image) to a thread that has a lot of images, slows things down.  You can not click the choose button to select your image for a bit, as all the replies that show below the editor need to fill in the images from those replies.    

I would think those images do not need to be shown as you are replying.   Perhaps a mod so it just put's a link to the image rather than showing them when replying.

Paul
Back to the top
 
Posted
Rating:
#80336
Avatar

That's an issue in 7.1?

I can't remember in which version, but we changed how Javascript initialises so that it doesn't wait for non-critical resources like images.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#80338
Avatar

Community saint

yeah 7.1.5 it does it.

Paul
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: