logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
kevin26034224  
#1 Posted : Monday, September 9, 2019 9:46:52 AM(UTC)
kevin26034224

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?




Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

MikeR  
#2 Posted : Monday, September 9, 2019 11:57:14 AM(UTC)
MikeR

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?
Thank you for your support!
Mike Randolph
AbleCommerce.com
MikeR  
#3 Posted : Monday, September 9, 2019 12:05:48 PM(UTC)
MikeR

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.
Thank you for your support!
Mike Randolph
AbleCommerce.com
Users browsing this topic
Guest (2)
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.