I am trying to get Visualforce pages with as clean HTML as possible. We have to meet a bunch of requirements for a customer, and are trying to remove as much as HTML additions added by Visualforce as we can.
Templates and pages were no issue, the bulky HTML generated for components could be disabled by using the
layout="none" attribute, but I'm left with a little piece that I have not found to remove from my page. Added tags being the script and meta tags.
<!DOCTYPE HTML> <html> <head> <script src="/jslibrary/1344459698000/sfdc/JiffyStubs.js"></script><meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" /> <meta HTTP-EQUIV="Expires" content="Mon, 01 Jan 1990 12:00:00 GMT" /> this txt is located in the template this txt is located in the page (header define section) </head> <body> <p> this txt is located in the page (body define section) </p> this txt is located in a component </body> </html>
The meta tags are in relation to cache I guess, yet setting the page attribute cache to false doesn't have an impact. Can anyone explain the functionality of these additions, whether I can avoid having them on the page, or why they are important enough to Visualforce's functioning to keep them on there (if removal is possible).
update: my Visualforce page is defined as following:
<apex:page docType="html-5.0" showHeader="false" standardStylesheets="false" sidebar="false" cache="false">