Announcement

Collapse
No announcement yet.

clientside.mvc how to change cache from 30 day to 1year?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    clientside.mvc how to change cache from 30 day to 1year?

    Chasing the speed test robots again...

    I can change all the expires headers I want to via the root htaccess except I don't know how to change the clientside.mvc ones. They must have this "baked" into the MVC programming on that exact file.

    See? I have it all setup the way it needs to be for all other scripts and resources including js ones

    scripts.js-headers.phg.PNG


    BUT: clientside.mvc even though it has a content-type of text/javascript ignores the htaccess rules

    clientside.js-responseheaders.png

    So how can I get clientside.mvc to not use it's baked-in rules. Assuming I'm right.
    Colin Puttick
    Miva Web Developer @ Glendale Designs

    #2
    That is not currently configurable, and ideally I'd avoid using htaccess at all given the performance implications. I believe we can override that header at the web server config level (nginx) for /mm5/clientside.mvc specifically, so please open a support ticket and reference this thread; our staff should be able to get it set up for you.
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment

    Working...
    X