It looks like you're new here. If you want to get involved, click one of these buttons!
If your website is using CloudFlare
https://www.cloudflare.com/login.html
It would be nice in the next version of Vanilla forums if the team added a random value to be added on in
functions.general.php
on line 374 and 2192. This way if you make changes to your custom.css file it will not cache the old version.
My soloution was to add .rand(1, 200);
Answers
Vanilla is already set up to handle this scenario. When you change your theme you increment it's version number which is appended to the query string for custom.css. Adding a random number completely by-passes the purpose of cloudflare.
- Spam
- Abuse
0 · Insightful Awesome LOL ·so how do i change its version number thanks for the help
- Spam
- Abuse
0 · Insightful Awesome LOL ·You modify your theme's info array.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Ok I will give that a shot. Thanks for the help Todd
- Spam
- Abuse
0 · Insightful Awesome LOL ·