Rank: Member
Groups: Registered, Developers Joined: 7/26/2019(UTC) Posts: 20
Thanks: 2 times
|
We are having some users of our website report issues with page appearance. Some troubleshooting indicates use is not getting latest style sheet updates - style sheets are being cached in users browser.
I am seeing this as page source:
<link href="/Themes/Sample/Content/fonts.css" rel="stylesheet"/> <link href="/Themes/Sample/Content/animate.css" rel="stylesheet"/> <link href="/Themes/Sample/Content/style.css" rel="stylesheet"/> <link href="/Themes/Sample/Content/default.css" rel="stylesheet"/> <link href="/Themes/Sample/Content/custom.css" rel="stylesheet"/> <link href="/Themes/Sample/Content/skin.css" rel="stylesheet"/>
I have read there should be a "?v=N" added to the href... <link href="/Themes/Sample/Content/style.css?v=2" rel="stylesheet"/>
Where/How can I modify these link href values?
Also, is there a way to expire pages as well so entire pages are not cached in users' browsers forever? We've made some content changes to web forms quite some time ago and still getting some form submissions from users with old cached pages.
Thank you?
|
|
|
|
Rank: Advanced Member
Groups: Administrators, Developers, Registered, HelpDesk, System, Admin Joined: 10/18/2018(UTC) Posts: 183
Thanks: 1 times Was thanked: 6 time(s) in 6 post(s)
|
Hi Kevin,
I can't comment on the v=2 issue, but I'd like to know where you are seeing this in the source? Is this view html in the browser? |
|
|
|
|
Rank: Advanced Member
Groups: Administrators, Developers, Registered, HelpDesk, System, Admin Joined: 10/18/2018(UTC) Posts: 183
Thanks: 1 times Was thanked: 6 time(s) in 6 post(s)
|
Hi Kevin,
Are you running in debug mode? Those should be combined into one minimized CSS, which if you turn off will force the browser to re-download the CSS I'd think. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close