function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ShambolicRuseShambolicRuse 

disabling standard stylesheets

I am working on an app that doesn't use any of the standard salesforce styles. However, I notice they take significantly longer to load than any resources on my org.. In particular:

 

https://c.na7.visual.force.com/sCSS/18.0/1271110997000/PortalDefault/dStandard.css

https://c.na7.visual.force.com/sCSS/18.0/1269636689000/PortalDefault/default/elements.css

 

take about five seconds each. Since I'm not using them, how do I disable them? I have showHeader="false" standardStyleSheets="false" set in the page tag.

 

Thanks,

 

Mike

 


paul-lmipaul-lmi

Make sure you're not viewing a cached page.  SF uses a CDN to cache non-SSL pages, and making changes like that tend to lag (up to 24 hours).  in your testing, I recommend using the SSL connection to the server instead of the non-SSL version.  This will ensure you're not troubleshooting stuff that will "go away" when the cache is refreshed.

 

Also, note, Sandbox will throw an SSL cert warning, but does work.  They do not support SSL in Sandbox orgs as far as certs go, but the actual connectivity/web services do work.