css versioning
4 years 1 month ago #59241
by Janbol
css versioning was created by Janbol
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
Please Log in or Create an account to join the conversation.
4 years 1 month ago #59260
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic css versioning
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
Please Log in or Create an account to join the conversation.
4 years 1 month ago #59337
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic css versioning
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
Please Log in or Create an account to join the conversation.
4 years 4 weeks ago #59389
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic css versioning
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
The following user(s) said Thank You: Janbol
Please Log in or Create an account to join the conversation.
4 years 3 weeks ago #59462
by Janbol
Replied by Janbol on topic css versioning
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
Please Log in or Create an account to join the conversation.
Time to create page: 0.205 seconds