CMS Development

BGoosen
投稿者

minified main.css doesn't update

解決

I see a few old posts about this issue, but none of them seem to match my experience.

 

I'm using a theme that has a main.css file that combines several component CSS files, and I am making some modifications to the style.css component.

 

The thing I'm seeing, it doesn't update on the live site, not even if I also go in and make a trivial change to the main.css and click publish like the old thread suggests.

 

So I spend a bunch of time trying to figure out what is going on, and then eventually after some amount of time has passed, suddenly my changes appear.

 

Is anyone else experiencing this? Do you know a way to force a refresh of the minified CSS?

0 いいね!
1件の承認済みベストアンサー
BGoosen
解決策
投稿者

minified main.css doesn't update

解決

This issue was resolved by HubSpot customer support. If anyone finds this post because they are having a similar issue, you'll likely need to open a ticket.

元の投稿で解決策を見る

0 いいね!
5件の返信
BGoosen
投稿者

minified main.css doesn't update

解決

Ok, well now I just made a change and it showed up immediately after I forced main.css to update, so the experience I described earlier could just be me being confused. 

0 いいね!
BGoosen
投稿者

minified main.css doesn't update

解決

And now it's clearly using CSS from an hour ago. This is driving me crazy!

0 いいね!
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

minified main.css doesn't update

解決

Hey @BGoosen 

I have to admit, HubSpot really does cache things with an iron grip! 

There is a chrome extension that our Community maintains that has a cache busting option. 

@Gonzalo , the main guy behind this extension, is also in the process of adding some updated 👀

0 いいね!
BGoosen
解決策
投稿者

minified main.css doesn't update

解決

This issue was resolved by HubSpot customer support. If anyone finds this post because they are having a similar issue, you'll likely need to open a ticket.

0 いいね!
BGoosen
投稿者

minified main.css doesn't update

解決

I opened a ticket this morning as it was still showing an old version of my CSS on the test page and the tech thought it might be a caching issue.

 

That extension looks very intersting, and the cache buster should let me test my changes, but that wouldn't help if I needed to show the test page to someone who didn't have the extension, right?

 

Thanks!

0 いいね!