1 / 17

Go Live! Launching your MOSS Publishing site

Go Live! Launching your MOSS Publishing site. DEV435 Spencer Harbar. About the speaker…. Spencer Harbar, MVP, MCSD.NET, MCAD, MCSE, APM www.harbar.net Enterprise Architect working with some of Microsoft’s largest customers deploying Office SharePoint Server 2007. 15 years in Enterprise IT

jana
Download Presentation

Go Live! Launching your MOSS Publishing site

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Go Live!Launching your MOSS Publishing site DEV435 Spencer Harbar

  2. About the speaker… • Spencer Harbar, MVP, MCSD.NET, MCAD, MCSE, APM • www.harbar.net • Enterprise Architect working with some of Microsoft’s largest customers deploying Office SharePoint Server 2007. • 15 years in Enterprise IT • ISPA Board Member

  3. Agenda • ActiveX control dialog • Page payload • Custom CAS policies • Configuring & tuning caching • Application page lockdown • Server topology & roles • IIS HTTP compression • Web Application Configuration

  4. Name.dll ActiveX control • SharePoint utilizes the Name ActiveX control • Delivers presence functionality • Enabled by default on all OOTB Sites • Remove on Internet facing sites • override the ProcessDefaultOnLoad() JavaScript function • MSKB # 931509

  5. Minimizing Page Payload • Page payload • combined total size of all files required for a page request • Includes all HTML markup, images, JavaScript, CSS, etc… • SharePoint heavy page payloads primarily due to table-based design & JavaScript • Best Practices: • Avoid OOTB Publishing Site and Master Pages • Implement CSS-based design (aim for accessible sites) which can dramatically reduce the markup • Tune IIS HTTP compression (more later…) • Lazy-load core.js - See MSKB # 933823 • Or suppress it all together!

  6. Publishing Portal Page Payload

  7. Examining The Publishing Portal Page Payload & ActiveX

  8. CAS Policies for Custom Code • SharePoint sites default to WSS_Minimal • When creating custom components, developers are presented with two options: • Increase trust of Web app (WSS_Medium / Full) • Increase trust of specific components w/ CAS policy • Increasing the trust of the Web app is easier, BUT custom CAS policy for a specific component is much more secure • ITP343 & 344 (This afternoon) • DEV369 (Wednesday, 12:30pm)

  9. The “Lockdown Feature” • By default, all users in a SharePoint site can access the SharePoint-y pages • http://www.adventure-works.com/pages/forms/allitems.aspx • Not desirable in Publishing sites • Controlled by the “View Application Pages” right granted by “Limited Access” • SPBasePermissions.ViewFormPages • Feature ViewFormPagesLockdown removes this right from Limited Access • Automatically activated by Publishing Portal template • Note: need to reactivate when changing the anonymous settings on a site collection

  10. Page Output Cache • Fastest type of caching • After ASP.NET 2.0 page lifecycle generates the HTML markup it is saved in RAM • Future requests bypass the ASP.NET 2.0 page lifecycle and instead uses cached HTML • Publishing sites provide Web interface to create cache “profiles” • Profiles assigned to individual sites • Note: not enabled by default

  11. Disk-Based Cache • Commonly requested static files (images, CSS, JS, etc) stored in libraries in the site are pulled from the content database on each request • Disk-based cache stores these files on the WFE server’s disk to eliminate future round trips • Can optionally configure the max-age HTTP header causing user’s browsers to not request the files for a specified duration • Configured via the Web App’s web.config

  12. Server Topology & Roles • Separate authoring & production environments • Use Content Deployment • Environment can then be optimized for: • read/write (authoring) • read only (production) • Disable/Stop unused services • Excel Calculation, Incoming Email, WSS Search etc

  13. Static & Dynamic Compression • Used to minimize the page payload • When SharePoint installed, IIS is configured to compress static & dynamic files • Static: HTM, HTML, TXT • Dynamic: ASP, EXE • Example: core.js is 257 KB on disk, but IIS compresses to 54 KB before sent to client • IIS HTTP compression level is configurable • Requires lots of fine tuning and testing • Higher compression = higher CPU use & smaller files • Lower compression = lower CPU use & larger files • Tip: increase as high as the CPU can handle

  14. IIS v6 vs. IIS v7 Compression • In IIS 7, compression (static & dynamic) is on / off & is enabled / disabled based on CPU utilization • In IIS 7, markup can be compressed before inserting into page output cache • Not enabled by default

  15. Examining Caching, IIS HTTP Compression & Results

  16. Web Application Configuration • For Internet-facing sites, it is recommended to disable the following: • User Presence Information • Central Admin » App Mgmt » Web App General Settings • Blog API • Central Admin » App Mgmt » Web App General Settings • Incoming Email • Central Admin » Operations » Incoming E-Mail Settings • Disk-Based Caching • Enable disk-based caching and set the max-age attribute for local user browser caching

  17. Thank you for attending! Post conference DVD with all slide decks Sponsored by

More Related