B4J Question [Abmaterial] PageExpires property and browser cache

stanmiller

Active Member
Licensed User
Longtime User
I see that ABMaterial defaults the "expires" meta tag to seven days. And it doesn't appear to refresh this value once the initial page is written to disk.

For example, at the time of posting the pages at Abmaterial.com have expired.

1_abm_page_expires_zpsihqdlqm9.jpg


I can change the expiration to 90 days in the BuildPage() method, but do modern browsers even use this meta tag?
B4X:
page.PageExpires = DateTime.Now + (DateTime.TicksPerDay * 90)
 
Last edited:
Top