Jump to content

add a parameter to end of url


Recommended Posts

that makes sense. BUT, CDN's typically only need to cache the larger static objects, such as images/scripts etc, you woudn't want it to cache the HTML in the page for the very reason your saying. so what you really need is to update your store theme, change the URL's to include the CDN prefix/configuration for things like scripts and images and sync with your CDN provider.

At least, that's how it's worked for CDN's I've looked to impliment for other customers earlier this year. You don't want to cache dynamic content

Link to comment
Share on other sites

Would an HTTP Header suffice? That is, whatever your off-site caching application (CDN) looks for to determine if the page is to override standard caching mechanisms?

The trick of adding a querystring to a URL works well to force the web browser to always fetch a fresh copy of a file (CSS, javascript) when making its GET requests. I have no experience with this method affecting the behavior of any intermediate system.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...