Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Append timestamp to css sprite image path
Started by fishbonebob Jul 17 2018 11:45 PM

1 reply to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

fishbonebob

[GLOBAL: userInfoPane.html]
fishbonebob
  • Observer

  • 1 posts
  • Corona SDK

Is there a way to append a timestamp or a version tag to the published css file image path in css(responsive,retina)? If not, is this feature palned?

 

I used the glue sprite generator. Here you can add a cachebuster option:

http://glue.readthedocs.io/en/latest/options.html#cachebuster

 

Would realy like to see this feature in Texturepacker.

 

 

Example:

.sprite-buildings-house::after {content: '\00a0';display: inline-block; width:108px; height:83px; background-position: 0.16611295681063123% 0.5882352941176471%;background-size: 657.4074074074074% 304.8192771084337%;background-image: url(../images/sprites/buildings.png);padding: 0; }

Should be:

.sprite-buildings-house::after {content: '\00a0';display: inline-block; width:108px; height:83px; background-position: 0.16611295681063123% 0.5882352941176471%;background-size: 657.4074074074074% 304.8192771084337%;background-image: url(../images/sprites/buildings.png?987654321);padding: 0; }


[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,585 posts
  • Corona SDK

I think you've got the wrong site.  You'd be better served asking for changes to the tool on the CodeAndWeb site.

 

This forum is for Corona related questions.  This particular sub-forum is for Texture packer questions as related to Corona.




[topic_controls]
[/topic_controls]