Using vBulletin 4.2.5.
Problem: Sometimes a mobile browser on a slow data connection will not download all the CSS correctly, breaking the page displayed in the default vBulletin mobile style. Refreshing the page doesn't help, at least not for some time and I have no idea what the default expiration time is for mobile devices/browsers.
I don't want to turn off caching completely.
What I want to do is specify a short cache time, say 5 minutes.
I'm having trouble finding the correct syntax for this.
Is this correct?
or should it be
or is there a better way to do this.
Additionally, can this be done only for mobile devices by inserting the meta tag just into the default mobile style?
Problem: Sometimes a mobile browser on a slow data connection will not download all the CSS correctly, breaking the page displayed in the default vBulletin mobile style. Refreshing the page doesn't help, at least not for some time and I have no idea what the default expiration time is for mobile devices/browsers.
I don't want to turn off caching completely.
What I want to do is specify a short cache time, say 5 minutes.
I'm having trouble finding the correct syntax for this.
Is this correct?
Code:
<meta http-equiv="Cache-Control" content="must-revalidate, max-age=300" />
Code:
<meta http-equiv="Cache-Control: must-revalidate, max-age=300" />
Additionally, can this be done only for mobile devices by inserting the meta tag just into the default mobile style?
Comment