I am using mvc razor to display the contents in a page. I have model with multiple items i am looping the model and display values.If I change a value in chrome and reload the same page in Firefox it is not refreshing the new value,but it is not working vice versa.If i use Hard refresh(ctrl+F5) it is working in Firefox
I try to add onload script to refresh the page
@model DecisioningModel
@helper RenderDecisionPageSection(ApplicationPageSectionData section,
SecurityPrincipal user, bool sectionNameRendered)
{
@if (section.Rows != null)
{
foreach (var row in section.Rows)
{
@foreach (var field in row.Fields)
{
var isDataElement = field.DataElement != null;
var groupName = field.selectedGroup != null ? field.selectedGroup.Name :
"";
var dataElementName = isDataElement && groupName != "" ? groupName + "-"
+ field.DataElement.Name : "";
var sectionName = field.SectionName;
var fieldLength = isDataElement && field.DataElement.FieldLength != null
? field.DataElement.FieldLength : 999;
<input type="text" @(Model.EnablePageFormulaJsPerfChanges ? "id=" +
field.Id : "id=" + inputId)
name="dataelement@(Model.DataElementId(field))"
class="@Model.CssClassForField(field, section, true)"@((field.IsDisabled)
?disabled=disabled" : "")"
@(section.CollectionType != "Stipulations" && (field.IsCalculated) ?
"readonly=readonly" : "") data-fieldid="@field.Id"
data-dataelementid="@Model.DataElementId(field)"" />
}
}
}
}
Value is not refreshing in firefox. Hard refresh working for me but i tried to setup that in about:config using browser.cache.disk.enable = false and browser.cache.memory.enable = false it is not working