Uncomment the configure directive of Asset.timestamp in app/config/ core.php. If set to true, it will add a timestamp querystring parameter to your CSS and Javascript files when in production mode (debug = 0).
-j. On Oct 7, 6:05 am, Abhishek <[email protected]> wrote: > Hi, > I was facing some caching related issues .. so i thought including a > random value might help solve the problem .. > > This is what i added while including a css file > > <?php echo $html->css("style"."?cb=".time());?> > > which worked fine on my local apache server .. but when i uploaded it > to the production server (which is also running apache ) .. it > failed .. the css file was not getting included .. > > Any clue wht went wrong .. > > Regards > Abhishek Jain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
