Click here to Skip to main content
15,892,927 members
Articles / Web Development / CSS

JavaScript and CSS Caching using CRC32

Rate me:
Please Sign up or sign in to vote.
4.00/5 (5 votes)
16 Jul 2012MIT5 min read 36.6K   186   13  
A simple method to ensure that new .JS and .CSS files always get downloaded and cached ones never get re-downloaded

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebCRC", "WebCRC\WebCRC.csproj", "{5143F27E-6B69-4E9F-905E-47D5D28CA5AB}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{5143F27E-6B69-4E9F-905E-47D5D28CA5AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{5143F27E-6B69-4E9F-905E-47D5D28CA5AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{5143F27E-6B69-4E9F-905E-47D5D28CA5AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{5143F27E-6B69-4E9F-905E-47D5D28CA5AB}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Web Developer
United States United States
Paul Reid is the CEO (and still part-time programmer) of Product4Me Corporation, a web site company devoted to helping consumers get the individualized best fit for home theater (and other) products.

Comments and Discussions