Reputation: 2247
I am customizing a qbo3 site with CSS via Configuration > Style Sheets. However, when I make changes, those changes are not immediately reflected in the site's CSS. How do I force these changes to "take effect"?
Upvotes: 0
Views: 17
Reputation: 2247
You likely are experiencing 3 issues.
CachedFile
backing store which:If the CachedFile
find the file on the web server, it does not bother fetching it from the distributed store, for up to 5 minutes (by default). This CacheDuration
can be controlled from Configuration > Modules > Attachment > Settings: CacheDurationMinutes
.
If you set the CacheDurationMinutes
to 0, the CachedFile
will read from the distributed store every time. This slows performance a bit, so it's recommended only for non-production environments.
To instruct the server to "clear CSS from cache", navigate to:
/Theme.ashx/Css?nocache=1
The nocache=1
will instruct the server to rebuild the CSS and replace the cached value.
css
changes until their browser drops the main menu from cache. They can force this by adding &nocache=1
or ?nocache=
to anyone.Upvotes: 0