Jump to content
Sign in to follow this  
xoala

Stylesheets should have version numbers for expiration control

Recommended Posts

xoala    0
xoala

common.css and style.css don't have expiration dates, so they don't get cached on the client end, at least not for long. If version numbers were added, say, common-153.cas and style-153.css, then they could have very long expiration dates added, which would speed up performance. This can work only if the file names change on updates, however, since otherwise the old files will continue to be used.

Share this post


Link to post
Share on other sites
Rob    547
Rob
I'll alert the developers to this suggestion. Thank you for taking the time to write about this interesting subject.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Simon    247
Simon
They already have version numbers: [code]/themes/pagelines/css/objects.css?ver=213-022963750[/code]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×