# Page loading old code

**URL:** <https://community.hubspot.com/t/page-loading-old-code/35190>\
**Category:** CMS Development\
**Tags:** local-development\
**Created:** [April 8, 2021, 9:23pm UTC](https://community.hubspot.com/t/page-loading-old-code/35190 "2021-04-08T21:23:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [April 9, 2021, 8:02am UTC](https://community.hubspot.com/t/page-loading-old-code/35190/2 "2021-04-09T08:02:13Z")

</div>

Hi @SMetcalf , we had similar issues and in our case was cache related (and from time to time we still have this issue).

Sometimes, hard reloading the page is not enough.

What we did is to add a “cache buster” when loading our files into HTML using a random variable or the timestamp. So everytime we load the page, we have our assets loaded with ?somenumber and that will stop the cache issue from happening.

This link might help: [Add cache buster to Hubspot Hubl get\_asset\_url | HTML Code Copy | by CR Rollyson | Medium](https://crrollyson.medium.com/add-cache-buster-to-hubspot-hubl-get-asset-url-with-unixtimestamp-with-available-cms-functions-2-9775bc1df5db)

Also, make sure you are using the latest CLI version ([HubSpot CLI commands overview - HubSpot docs](https://developers.hubspot.com/docs/cms/developer-reference/local-development-cli#upgrade)), we also had issues with CSS and JS files not being uploaded and it was fixed after updating our CLI.

---

_[View the full topic](https://community.hubspot.com/t/page-loading-old-code/35190)._
