Through research, I have not yet found a clear answer.
I know that you can configure headers for caching certain extensions, such as .jpg, .png, .js, etc. But where I have not found, is it possible to target a folder or a specific file in the cache of the clientβs browser.
Here is our senario: we have massive sprites (in thousands of pixels) that contain most of the images on our site. We want to use local caching in the client browser, but at the same time we want to specify which folders or specific files the browser cache should use (and not just the general apache headers).
Is it possible? If so, what is the best way to implement it?
source share