简体   繁体   中英

javascript and CSS versioning for Cache Busting in Tapestry

I am new to Tapestry . Is there a way with which we can do Cache Busting in tapestry . I am interested in knowing that whether Tapestry is having some in-built capability to let us do this ?

Yes, this is built in. Assets (css, JavaScript, images) served up by Tapestry through the use of the asset: or context: binding prefix get unique URLs that change when the checksum of the asset (for Tapestry 5.4 and later) or app version number (for Tapestry 5.3 and earlier) changes. See the Asset Fingerprinting section of http://tapestry.apache.org/assets.html for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM