css versioning
Hello Cedrick,
I think it would be very handy to have automatic “versioning” for css files in TC.
Problem: I regularly modify CSS rules or add code to e.g. the custom.css in templates made with TC. In order to apply the new rules I have at least to refresh a page or in a stubborn browser case, delete all the cache via a keyboard combination. That might be o.k. when preparing a site locally, but once in production, I can not expect every returning visitor to do the same and flush his cache when I change some rules. Because browsers nowadays rely heavily on cache, some will never get to see the results of a “changed” css. Furthermore, some “outside” cache systems can prevent to reflect changes.
As a solution I append “?and-some-things-like-a-number” to “custom.css” in the index.php file of the template after a change, but this is cumbersome, especially when you have to do it regularly in some cases. Although it works fine, it’s not practical.
I see others use versioning, why not TC?
Thanks for listening,
Jan
I think it would be very handy to have automatic “versioning” for css files in TC.
Problem: I regularly modify CSS rules or add code to e.g. the custom.css in templates made with TC. In order to apply the new rules I have at least to refresh a page or in a stubborn browser case, delete all the cache via a keyboard combination. That might be o.k. when preparing a site locally, but once in production, I can not expect every returning visitor to do the same and flush his cache when I change some rules. Because browsers nowadays rely heavily on cache, some will never get to see the results of a “changed” css. Furthermore, some “outside” cache systems can prevent to reflect changes.
As a solution I append “?and-some-things-like-a-number” to “custom.css” in the index.php file of the template after a change, but this is cumbersome, especially when you have to do it regularly in some cases. Although it works fine, it’s not practical.
I see others use versioning, why not TC?
Thanks for listening,
Jan
by Janbol
Please Log in or Create an account to join the conversation.
Hi
thanks for the idea, I will check that and let you know
CEd
thanks for the idea, I will check that and let you know
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Hi
just to be clear with you, you are talking about editing the custom css. Are you doing that into Template Creator CK, or directly in the file ?
because I can add some versioning into Template Creator CK that changes each time you update the template, but it won't work if you are working directly in the custom css file
CEd
just to be clear with you, you are talking about editing the custom css. Are you doing that into Template Creator CK, or directly in the file ?
because I can add some versioning into Template Creator CK that changes each time you update the template, but it won't work if you are working directly in the custom css file
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Hi
I have added the versioning on CSS in the latest version
CEd
I have added the versioning on CSS in the latest version
CEd
Joomlack Webmaster and Developer
by ced1870
The following user(s) said Thank You: Janbol
Please Log in or Create an account to join the conversation.
Sorry for replying late…
You guessed right, I was talking about editing custom.css from within TC.
Good to have versioning.
Have a nice day,
Jan
You guessed right, I was talking about editing custom.css from within TC.
Good to have versioning.
Have a nice day,
Jan
by Janbol
Please Log in or Create an account to join the conversation.
Time to create page: 0.621 seconds