Menu ▾ ▴

#22 make cache files (js/css)

Release 1.2
open
None
7
2013-06-05
2013-06-05
No

Hi,

I'm using cppcms 0.99.7 with C++ and i don't know how i can make cache of my files js and css.

i'm declaring in may page with script: "<script type="text/javascript" src="../Resources/Ext-4/ext-all.js"></script>"

when i debug my page with firebug appears on cache tab:
Data Size 1497654
Device disk
Expires Wed Dec 31 1969 22:00:00 GMT-0200
Fetch Count 125
Last Fetched Wed Jun 05 2013 09:33:17 GMT-0300 (Hora oficial do Brasil)
Last Modified Wed Jun 05 2013 09:33:17 GMT-0300 (Hora oficial do Brasil)

why appears expires date 1969?

How can i enable cppcms to cache these files?

Thanks

Discussion

  • TiagoBigotto

    TiagoBigotto - 2013-06-05

    Sorry, here's the script: script type="text/javascript" src="../Resources/Ext-4/ext-all.js"

     

Anonymous
Anonymous

Add attachments
Cancel