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
jls_74_txjls_74_tx 

Reloading A Page

I have a VF page that I have published to my Sites domain so my clients can update their contact information.  If I make a change to the page, my clients indicate that they can't see the changes unless they refresh the page in their browser....sometimes 3 or 4 times.  Is there a way to write into the page to reload the content every time so I don't have to ask my clients to change their browser settings?

 

I have tested it for myself.....I can see the changes immediately in development mode but when I go to the production page I also have to refresh numerous times to see my changes.

 

Thank You.

aballardaballard

Are you sure you haven't marked the page to be cached? 

jls_74_txjls_74_tx

Not that I know of.  Here is the code:

 

<apex:page sidebar="false" showHeader="false" standardController="Locators__c"> <apex:image value="http://www.aimmls.com/supportdocs/images/my_locator_profile.png"/>
<apex:form >
<apex:pageBlock title="{!Locators__c.First_Name__c} {!Locators__c.Last_Name__c}">
<apex:commandButton action="{!Quicksave}" Value="Save"/>
<apex:pageBlockSection >
<apex:outputText value="To remove your profile from the directory completely uncheck Profile Active" style="font-family:verdana,geneva,sans-serif;font-size:10px;font-weight:bold;color: rgb(1, 145, 175)" />
<apex:outputText />
<apex:inputField value="{!Locators__c.Profile_Active__c}"/>
<apex:inputField value="{!Locators__c.Weekly_Availability_Report__c}"/>
<apex:inputField value="{!Locators__c.Commission_Changes__c}"/>
<apex:inputField value="{!Locators__c.Management_Changes__c}"/>
<apex:inputField value="{!Locators__c.Monthly_Newsletter__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Profile Information" >
<apex:inputField value="{!Locators__c.Company_Name__c}"/>
<apex:inputField value="{!Locators__c.First_Name__c}"/>
<apex:inputField value="{!Locators__c.Street_Address__c}"/>
<apex:inputField value="{!Locators__c.Last_Name__c}"/>
<apex:inputField value="{!Locators__c.City__c}"/>
<apex:inputField value="{!Locators__c.Phone__c}"/>
<apex:inputField value="{!Locators__c.State__c}"/>
<apex:inputField value="{!Locators__c.Fax__c}"/>
<apex:inputField value="{!Locators__c.Zip_Code__c}"/>
<apex:inputField value="{!Locators__c.Email__c}"/>
<apex:inputField value="{!Locators__c.Multi_Lingual__c}"/>
<apex:inputField value="{!Locators__c.Service_Area__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Web Links" >
<apex:inputField value="{!Locators__c.Website__c}" style="width:300px"/>
<apex:inputField value="{!Locators__c.LinkedIN__c}"/>
<apex:inputField value="{!Locators__c.Facebook__c}"/>
<apex:inputField value="{!Locators__c.Facebook_Business_Page__c}"/>
<apex:inputField value="{!Locators__c.Twitter__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection columns="1">
<apex:inputField value="{!Locators__c.About_You__c}" label="About Me" style="width:600px;height:200px"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Profile Picture: We will create a banner for you if you save a picture and logo">
<apex:inputField value="{!Locators__c.Profile_Pic__c}"/>
<apex:inputField value="{!Locators__c.Logo__c}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>